Home
last modified time | relevance | path

Searched refs:ElapsedVirtualTime (Results 1 – 25 of 32) sorted by relevance

12

/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Tests/UnitTests/
DTimeSourceTests.cs49 …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()
[all …]
DTimeHandleTests.cs702 public TimeInterval NearestSyncPoint => ElapsedVirtualTime + Quantum;
704 public TimeInterval ElapsedVirtualTime { get; set; } property in UnitTests.TimeHandleTests.MockTimeSource
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Peripherals/Wireless/
DInterferenceQueue.cs49 …TimeInterval addTime = IPeripheralExtensions.GetMachine(sender).LocalTimeSource.ElapsedVirtualTime; in Add()
70 … IPeripheralExtensions.GetMachine(entry.Sender).LocalTimeSource.ElapsedVirtualTime, in Remove()
71 …IPeripheralExtensions.GetMachine(entry.Sender).LocalTimeSource.ElapsedVirtualTime - entry.StartTxT… in Remove()
78 … IPeripheralExtensions.GetMachine(entry.Sender).LocalTimeSource.ElapsedVirtualTime, in Remove()
79 …IPeripheralExtensions.GetMachine(entry.Sender).LocalTimeSource.ElapsedVirtualTime - entry.StartTxT… in Remove()
202 startTx = IPeripheralExtensions.GetMachine(sender).LocalTimeSource.ElapsedVirtualTime; in PacketInfo()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Time/
DTimeSourceBase.cs191 what(new TimeStamp(ElapsedVirtualTime, Domain)); in ExecuteInNearestSyncedState()
273 if(currentCommonElapsedTime == ElapsedVirtualTime) in SynchronizeVirtualTime()
278 …DebugHelper.Assert(currentCommonElapsedTime > ElapsedVirtualTime, $"A slave reports time from the … in SynchronizeVirtualTime()
280 var timeDiff = currentCommonElapsedTime - ElapsedVirtualTime; in SynchronizeVirtualTime()
355 …public TimeInterval ElapsedVirtualTime { get { return TimeInterval.FromTicks(virtualTicksElapsed.C… property in Antmicro.Renode.Time.TimeSourceBase
473 …DebugHelper.Assert(NearestSyncPoint.Ticks >= ElapsedVirtualTime.Ticks, $"Nearest sync point set in… in InnerExecute()
476 var quantum = NearestSyncPoint - ElapsedVirtualTime; in InnerExecute()
480 var elapsedVirtualTimeAtStart = ElapsedVirtualTime; in InnerExecute()
519 virtualTimeElapsed = ElapsedVirtualTime - elapsedVirtualTimeAtStart; in InnerExecute()
627 …DebugHelper.Assert(ElapsedVirtualTime <= interval, $"Couldn't reset back in time from {ElapsedVirt… in ResetVirtualTime()
[all …]
DITimeSource.cs39 TimeInterval ElapsedVirtualTime { get; } property
DTimeHandle.cs121 …DebugHelper.Assert(TimeSource.ElapsedVirtualTime >= TotalElapsedTime, $"Trying to move time handle… in Reset()
122 TotalElapsedTime = TimeSource.ElapsedVirtualTime; in Reset()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Extensions/Analyzers/
DLoggingUartAnalyzer.cs51 lastLineStampVirtual = machine.ElapsedVirtualTime.TimeElapsed; in Show()
74 var virtualNow = machine.LocalTimeSource.ElapsedVirtualTime; in WriteChar()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/Miscellaneous/SiLabs/
DEFR32xG2_HFXO_3.cs165 … this.Log(LogLevel.Debug, "Start-up delay timer began at: {0}", machine.ElapsedVirtualTime); in OnEm2Wakeup()
195 … this.Log(LogLevel.Debug, "Start-up delay timer expired at: {0}", machine.ElapsedVirtualTime); in OnStartUpTimerExpired()
DEFR32xG2_HFXO_2.cs239 private TimeInterval GetTime() => machine.LocalTimeSource.ElapsedVirtualTime; in GetTime()
266 … this.Log(LogLevel.Debug, "Start-up delay timer expired at: {0}", machine.ElapsedVirtualTime); in OnStartUpTimerExpired()
DEFR32xG2_RNGCTRL.cs212 private TimeInterval GetTime() => machine.LocalTimeSource.ElapsedVirtualTime; in GetTime()
DEFR32xG2_SYSRTC_1.cs310 private TimeInterval GetTime() => machine.LocalTimeSource.ElapsedVirtualTime; in GetTime()
DEFR32xG2_SMU_1.cs405 private TimeInterval GetTime() => machine.LocalTimeSource.ElapsedVirtualTime; in GetTime()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Utilities/
DTimeoutEvent.cs39 … var when = timeSource.ElapsedVirtualTime + TimeInterval.FromMilliseconds(virtualMilliseconds); in EnqueueTimeoutEvent()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/Sound/
DLiteX_I2S_Slave.cs107 var currentTimestamp = machine.LocalTimeSource.ElapsedVirtualTime; in PushSamples()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Peripherals/Sensor/
DSensorSamplesFifo.cs133 …og(LogLevel.Noisy, "{0} {1}: Feeding sample {2}/{3}: {4}", machine.ElapsedVirtualTime.TimeElapsed,… in FeedSamplesInner()
141 …owner.Log(LogLevel.Noisy, "{0} {1}: All samples fed", machine.ElapsedVirtualTime.TimeElapsed, name… in FeedSamplesInner()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/Analog/
DSTM32_ADC.cs239 machine.ElapsedVirtualTime.TimeElapsed); in StartConversion()
253 machine.ElapsedVirtualTime.TimeElapsed, in OnConversionFinished()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/USB/
DUSBHost.cs142 var now = timeSource.ElapsedVirtualTime; in ExecuteWithDelay()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Testing/
DTerminalTester.cs106 … lines.Add(new Line(line, machine.ElapsedVirtualTime.TimeElapsed.TotalMilliseconds)); in WriteChar()
648 timestamp = machine.ElapsedVirtualTime.TimeElapsed.TotalMilliseconds; in HandleSuccess()
701 var virtMs = machine.ElapsedVirtualTime.TimeElapsed.TotalMilliseconds; in ReportInner()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/Miscellaneous/
DArmSysCtl.cs81 … uint v = unchecked((uint)((machine.ElapsedVirtualTime.TimeElapsed).TotalSeconds*24000000)); in ReadDoubleWord()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Peripherals/
DIMachine.cs95 TimeStamp ElapsedVirtualTime { get; } property
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/Wireless/
DEmberRadio.cs125 …return (uint)((int)((machine.ElapsedVirtualTime.TimeElapsed).TotalMilliseconds * 1000) & 0xFFFFFFF… in ReadDoubleWordIRQ()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Core/
DEmulationManager.cs136 … CurrentEmulation.SnapshotTracker.Save(CurrentEmulation.MasterTimeSource.ElapsedVirtualTime, path); in Save()
DMachine.cs1133 var currentTime = ElapsedVirtualTime.TimeElapsed; in ScheduleAction()
1230 public TimeStamp ElapsedVirtualTime property in Antmicro.Renode.Core.Machine
1234 return new TimeStamp(LocalTimeSource.ElapsedVirtualTime, LocalTimeSource.Domain);
1272 return RealTimeClockStart + ElapsedVirtualTime.TimeElapsed.ToTimeSpan();
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/Sensors/
DMAX30208.cs332 var now = timeSource.ElapsedVirtualTime; in DefineRegisters()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/UART/
DEFR32xG2_EUSART_2.cs638 private TimeInterval GetTime() => machine.LocalTimeSource.ElapsedVirtualTime; in GetTime()

12