| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Tests/UnitTests/ |
| D | TimeSourceTests.cs | 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() [all …]
|
| D | TimeHandleTests.cs | 702 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/ |
| D | InterferenceQueue.cs | 49 …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/ |
| D | TimeSourceBase.cs | 191 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 …]
|
| D | ITimeSource.cs | 39 TimeInterval ElapsedVirtualTime { get; } property
|
| D | TimeHandle.cs | 121 …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/ |
| D | LoggingUartAnalyzer.cs | 51 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/ |
| D | EFR32xG2_HFXO_3.cs | 165 … 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()
|
| D | EFR32xG2_HFXO_2.cs | 239 private TimeInterval GetTime() => machine.LocalTimeSource.ElapsedVirtualTime; in GetTime() 266 … this.Log(LogLevel.Debug, "Start-up delay timer expired at: {0}", machine.ElapsedVirtualTime); in OnStartUpTimerExpired()
|
| D | EFR32xG2_RNGCTRL.cs | 212 private TimeInterval GetTime() => machine.LocalTimeSource.ElapsedVirtualTime; in GetTime()
|
| D | EFR32xG2_SYSRTC_1.cs | 310 private TimeInterval GetTime() => machine.LocalTimeSource.ElapsedVirtualTime; in GetTime()
|
| D | EFR32xG2_SMU_1.cs | 405 private TimeInterval GetTime() => machine.LocalTimeSource.ElapsedVirtualTime; in GetTime()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Utilities/ |
| D | TimeoutEvent.cs | 39 … var when = timeSource.ElapsedVirtualTime + TimeInterval.FromMilliseconds(virtualMilliseconds); in EnqueueTimeoutEvent()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/Sound/ |
| D | LiteX_I2S_Slave.cs | 107 var currentTimestamp = machine.LocalTimeSource.ElapsedVirtualTime; in PushSamples()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Peripherals/Sensor/ |
| D | SensorSamplesFifo.cs | 133 …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/ |
| D | STM32_ADC.cs | 239 machine.ElapsedVirtualTime.TimeElapsed); in StartConversion() 253 machine.ElapsedVirtualTime.TimeElapsed, in OnConversionFinished()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/USB/ |
| D | USBHost.cs | 142 var now = timeSource.ElapsedVirtualTime; in ExecuteWithDelay()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Testing/ |
| D | TerminalTester.cs | 106 … 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/ |
| D | ArmSysCtl.cs | 81 … uint v = unchecked((uint)((machine.ElapsedVirtualTime.TimeElapsed).TotalSeconds*24000000)); in ReadDoubleWord()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Peripherals/ |
| D | IMachine.cs | 95 TimeStamp ElapsedVirtualTime { get; } property
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/Wireless/ |
| D | EmberRadio.cs | 125 …return (uint)((int)((machine.ElapsedVirtualTime.TimeElapsed).TotalMilliseconds * 1000) & 0xFFFFFFF… in ReadDoubleWordIRQ()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Core/ |
| D | EmulationManager.cs | 136 … CurrentEmulation.SnapshotTracker.Save(CurrentEmulation.MasterTimeSource.ElapsedVirtualTime, path); in Save()
|
| D | Machine.cs | 1133 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/ |
| D | MAX30208.cs | 332 var now = timeSource.ElapsedVirtualTime; in DefineRegisters()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/UART/ |
| D | EFR32xG2_EUSART_2.cs | 638 private TimeInterval GetTime() => machine.LocalTimeSource.ElapsedVirtualTime; in GetTime()
|