Lines Matching refs:ElapsedVirtualTime

49 …sert.AreEqual(roundsCount * masterTimeSource.Quantum.Ticks, timeSinks[i].ElapsedVirtualTime.Ticks);  in ShouldHandleMultipleSinks()
157 … Assert.AreEqual(roundsCount * timeSource.Quantum.Ticks, timeSource.ElapsedVirtualTime.Ticks); in ShouldHandleSlaveTimeSourceWithSameQuantum()
158 … Assert.AreEqual(roundsCount * timeSource.Quantum.Ticks, timeSlave.ElapsedVirtualTime.Ticks); in ShouldHandleSlaveTimeSourceWithSameQuantum()
159 … Assert.AreEqual(roundsCount * timeSource.Quantum.Ticks, timeSink.ElapsedVirtualTime.Ticks); in ShouldHandleSlaveTimeSourceWithSameQuantum()
183 … Assert.AreEqual(roundsCount * timeSource.Quantum.Ticks, timeSource.ElapsedVirtualTime.Ticks); in ShouldHandleSlaveTimeSourceWithDifferentQuantum()
184 … Assert.AreEqual(roundsCount * timeSource.Quantum.Ticks, timeSlave.ElapsedVirtualTime.Ticks); in ShouldHandleSlaveTimeSourceWithDifferentQuantum()
185 … Assert.AreEqual(roundsCount * timeSource.Quantum.Ticks, timeSink.ElapsedVirtualTime.Ticks); in ShouldHandleSlaveTimeSourceWithDifferentQuantum()
207 Assert.AreEqual(0, timeSource.ElapsedVirtualTime.Ticks); in ShouldHandleSlaveTimeSourceWithNotAlignedQuantum()
208 Assert.AreEqual(0, timeSlave.ElapsedVirtualTime.Ticks); in ShouldHandleSlaveTimeSourceWithNotAlignedQuantum()
209 Assert.AreEqual(0, timeSink.ElapsedVirtualTime.Ticks); in ShouldHandleSlaveTimeSourceWithNotAlignedQuantum()
217 Assert.AreEqual(10, timeSource.ElapsedVirtualTime.Ticks); in ShouldHandleSlaveTimeSourceWithNotAlignedQuantum()
218 Assert.AreEqual(9, timeSlave.ElapsedVirtualTime.Ticks); in ShouldHandleSlaveTimeSourceWithNotAlignedQuantum()
219 Assert.AreEqual(9, timeSink.ElapsedVirtualTime.Ticks); in ShouldHandleSlaveTimeSourceWithNotAlignedQuantum()
227 Assert.AreEqual(20, timeSource.ElapsedVirtualTime.Ticks); in ShouldHandleSlaveTimeSourceWithNotAlignedQuantum()
228 Assert.AreEqual(18, timeSlave.ElapsedVirtualTime.Ticks); in ShouldHandleSlaveTimeSourceWithNotAlignedQuantum()
229 Assert.AreEqual(18, timeSink.ElapsedVirtualTime.Ticks); in ShouldHandleSlaveTimeSourceWithNotAlignedQuantum()
237 Assert.AreEqual(30, timeSource.ElapsedVirtualTime.Ticks); in ShouldHandleSlaveTimeSourceWithNotAlignedQuantum()
238 Assert.AreEqual(30, timeSlave.ElapsedVirtualTime.Ticks); in ShouldHandleSlaveTimeSourceWithNotAlignedQuantum()
239 Assert.AreEqual(30, timeSink.ElapsedVirtualTime.Ticks); in ShouldHandleSlaveTimeSourceWithNotAlignedQuantum()
247 Assert.AreEqual(40, timeSource.ElapsedVirtualTime.Ticks); in ShouldHandleSlaveTimeSourceWithNotAlignedQuantum()
248 Assert.AreEqual(39, timeSlave.ElapsedVirtualTime.Ticks); in ShouldHandleSlaveTimeSourceWithNotAlignedQuantum()
249 Assert.AreEqual(39, timeSink.ElapsedVirtualTime.Ticks); in ShouldHandleSlaveTimeSourceWithNotAlignedQuantum()
257 Assert.AreEqual(50, timeSource.ElapsedVirtualTime.Ticks); in ShouldHandleSlaveTimeSourceWithNotAlignedQuantum()
258 Assert.AreEqual(48, timeSlave.ElapsedVirtualTime.Ticks); in ShouldHandleSlaveTimeSourceWithNotAlignedQuantum()
259 Assert.AreEqual(48, timeSink.ElapsedVirtualTime.Ticks); in ShouldHandleSlaveTimeSourceWithNotAlignedQuantum()
267 Assert.AreEqual(60, timeSource.ElapsedVirtualTime.Ticks); in ShouldHandleSlaveTimeSourceWithNotAlignedQuantum()
268 Assert.AreEqual(60, timeSlave.ElapsedVirtualTime.Ticks); in ShouldHandleSlaveTimeSourceWithNotAlignedQuantum()
269 Assert.AreEqual(60, timeSink.ElapsedVirtualTime.Ticks); in ShouldHandleSlaveTimeSourceWithNotAlignedQuantum()
291 Assert.AreEqual(10, master.ElapsedVirtualTime.Ticks); in ShouldNotTickDisconnectedSlaveTimeSource()
292 Assert.AreEqual(10, timeSlave.ElapsedVirtualTime.Ticks); in ShouldNotTickDisconnectedSlaveTimeSource()
293 Assert.AreEqual(10, timeSink.ElapsedVirtualTime.Ticks); in ShouldNotTickDisconnectedSlaveTimeSource()
303 Assert.AreEqual(20, master.ElapsedVirtualTime.Ticks); in ShouldNotTickDisconnectedSlaveTimeSource()
304 Assert.AreEqual(10, timeSlave.ElapsedVirtualTime.Ticks); in ShouldNotTickDisconnectedSlaveTimeSource()
305 Assert.AreEqual(10, timeSink.ElapsedVirtualTime.Ticks); in ShouldNotTickDisconnectedSlaveTimeSource()
393 time = timeSlave.ElapsedVirtualTime; in ShouldExecuteDelayedActionInSyncedStateExactlyOnce()
426 time = timeSlave.ElapsedVirtualTime; in ShouldExecuteNonAlignedDelayedActionInSyncedStateExactlyOnce()
463 sts.ElapsedVirtualTime += timeUsed; in ShouldUpdateExecutedTimeAfterBlocking()
472 sts.ElapsedVirtualTime += ti; in ShouldUpdateExecutedTimeAfterBlocking()
487 Assert.AreEqual(5, master.ElapsedVirtualTime.Ticks); in ShouldUpdateExecutedTimeAfterBlocking()
488 Assert.AreEqual(5, timeSlave.ElapsedVirtualTime.Ticks); in ShouldUpdateExecutedTimeAfterBlocking()
506 Assert.AreEqual(10, master.ElapsedVirtualTime.Ticks); in ShouldUpdateExecutedTimeAfterBlocking()
507 Assert.AreEqual(10, timeSlave.ElapsedVirtualTime.Ticks); in ShouldUpdateExecutedTimeAfterBlocking()
508 Assert.AreEqual(10, timeSink.ElapsedVirtualTime.Ticks); in ShouldUpdateExecutedTimeAfterBlocking()
555 Assert.AreEqual(4, master.ElapsedVirtualTime.Ticks); in ShouldHandleTwoBlockingSinks()
556 Assert.AreEqual(4, timeSlave.ElapsedVirtualTime.Ticks); in ShouldHandleTwoBlockingSinks()
587 Assert.AreEqual(6, master.ElapsedVirtualTime.Ticks); in ShouldHandleTwoBlockingSinks()
588 Assert.AreEqual(6, timeSlave.ElapsedVirtualTime.Ticks); in ShouldHandleTwoBlockingSinks()
617 Assert.AreEqual(8, master.ElapsedVirtualTime.Ticks); in ShouldHandleTwoBlockingSinks()
618 Assert.AreEqual(8, timeSlave.ElapsedVirtualTime.Ticks); in ShouldHandleTwoBlockingSinks()
657 Assert.AreEqual(10, master.ElapsedVirtualTime.Ticks); in ShouldHandleTwoBlockingSinks()
658 Assert.AreEqual(10, timeSlave.ElapsedVirtualTime.Ticks); in ShouldHandleTwoBlockingSinks()
689 Assert.AreEqual(10, master.ElapsedVirtualTime.Ticks); in ShouldHandleBlockingAtTheEndOfGrantedInterval()
690 Assert.AreEqual(10, timeSlave.ElapsedVirtualTime.Ticks); in ShouldHandleBlockingAtTheEndOfGrantedInterval()
722 Assert.AreEqual(10, master.ElapsedVirtualTime.Ticks); in ShouldHandleBlockingAtTheEndOfGrantedInterval()
723 Assert.AreEqual(10, timeSlave.ElapsedVirtualTime.Ticks); in ShouldHandleBlockingAtTheEndOfGrantedInterval()
726 Assert.AreEqual(20, master.ElapsedVirtualTime.Ticks); in ShouldHandleBlockingAtTheEndOfGrantedInterval()
727 Assert.AreEqual(20, timeSlave.ElapsedVirtualTime.Ticks); in ShouldHandleBlockingAtTheEndOfGrantedInterval()
765 … evt = EmulationManager.Instance.CurrentEmulation.MasterTimeSource.ElapsedVirtualTime.Ticks; in ShouldRecordAndPlayEvents()
781 … while(EmulationManager.Instance.CurrentEmulation.MasterTimeSource.ElapsedVirtualTime.Ticks < evt) in ShouldRecordAndPlayEvents()
917 public TimeInterval ElapsedVirtualTime { get; set; } property in UnitTests.TimeSourceTests.SimpleTimeSink
952 ElapsedVirtualTime += timeUnits; in Dispatcher()
1005 … events.Enqueue(Tuple.Create(machine.LocalTimeSource.ElapsedVirtualTime.Ticks, counter)); in MethodInner()
1010 … events.Enqueue(Tuple.Create(machine.LocalTimeSource.ElapsedVirtualTime.Ticks, counter)); in MethodTwoArgsInner()