public OnePublisherToOneProcessorRawThroughputTest()
     : base(TestName, 1000L * 1000L * 100L)
 {
     sequencer = new SingleProducerSequencer(BUFFER_SIZE, new YieldingWaitStrategy());
     myRunnable = new MyRunnable(sequencer);
     sequencer.AddGatingSequences(myRunnable.GetSequence);
 }
 protected void WaitForEventProcessorSequence(long expectedCount, SpinWait spinwait, MyRunnable myRunnable)
 {
     while (myRunnable.GetSequence.Value != expectedCount)
     {
         //Thread.Sleep(1);
         spinwait.SpinOnce();
     }
 }
 protected void WaitForEventProcessorSequence(long expectedCount, SpinWait spinwait, MyRunnable myRunnable)
 {
     while (myRunnable.GetSequence.Value != expectedCount)
     {
         //Thread.Sleep(1);
         spinwait.SpinOnce();
     }
 }