Ejemplo n.º 1
0
 public override void RunTest()
 {
     // The default test does nothing but give a baseline of how much the overhead costs.
     while (!StopRunning)
     {
         var x = RandomSeed.RDTSC8();
         System.Threading.Interlocked.Increment(ref Iterations);
     }
 }
Ejemplo n.º 2
0
 public RngSeed_Robust_Timing()
 {
     OkToRun  = false;
     TestName = "RngSeed.Robust() Timing Test";
     RandomSeed.RDTSC8();
 }
Ejemplo n.º 3
0
 public RngSeed_Medium_Timing()
 {
     OkToRun  = false;
     TestName = "RandomSeed.Medium() Timing Test";
     RandomSeed.RDTSC8();
 }
Ejemplo n.º 4
0
 public RDTSCTiming()
 {
     OkToRun  = false;
     TestName = "RngSeed.RDTSC Timing Test";
     RandomSeed.RDTSC8();
 }