Exemple #1
0
 public static unsafe string GetWritePointer(BinaryStream bs)
 {
     return("GetWritePointer\t" +
            StepTimer.Time(10, () =>
     {
         bs.GetWritePointer(40 * 1000000, 1);
         bs.GetWritePointer(80 * 1000000, 1);
         bs.GetWritePointer(120 * 1000000, 1);
         bs.GetWritePointer(50 * 1000000, 1);
         bs.GetWritePointer(90 * 1000000, 1);
         bs.GetWritePointer(130 * 1000000, 1);
         bs.GetWritePointer(60 * 1000000, 1);
         bs.GetWritePointer(100 * 1000000, 1);
         bs.GetWritePointer(140 * 1000000, 1);
         bs.GetWritePointer(110 * 1000000, 1);
     }));
 }