| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Time/ |
| D | IClockSource.cs | 16 void AddClockEntry(ClockEntry entry); in AddClockEntry() 17 void ExchangeClockEntryWith(Action handler, Func<ClockEntry, ClockEntry> visitor, in ExchangeClockEntryWith() argument 18 Func<ClockEntry> factoryIfNonExistent = null); in ExchangeClockEntryWith() 20 ClockEntry GetClockEntry(Action handler); in GetClockEntry() 21 void GetClockEntryInLockContext(Action handler, Action<ClockEntry> visitor); in GetClockEntryInLockContext() 22 IEnumerable<ClockEntry> GetAllClockEntries(); in GetAllClockEntries() 24 IEnumerable<ClockEntry> EjectClockEntries(); in EjectClockEntries() 25 void AddClockEntries(IEnumerable<ClockEntry> entries); in AddClockEntries()
|
| D | BaseClockSource.cs | 22 clockEntries = new List<ClockEntry>(); in BaseClockSource() 72 public virtual void AddClockEntry(ClockEntry entry) in AddClockEntry() 90 … public virtual void ExchangeClockEntryWith(Action handler, Func<ClockEntry, ClockEntry> visitor, in ExchangeClockEntryWith() argument 91 Func<ClockEntry> factoryIfNonExistent) in ExchangeClockEntryWith() 121 public virtual ClockEntry GetClockEntry(Action handler) in GetClockEntry() 181 public virtual void GetClockEntryInLockContext(Action handler, Action<ClockEntry> visitor) in GetClockEntryInLockContext() 195 public IEnumerable<ClockEntry> GetAllClockEntries() in GetAllClockEntries() 233 public virtual IEnumerable<ClockEntry> EjectClockEntries() in EjectClockEntries() 236 IEnumerable<ClockEntry> result; in EjectClockEntries() 249 public void AddClockEntries(IEnumerable<ClockEntry> entries) in AddClockEntries() [all …]
|
| D | ClockEntry.cs | 15 public struct ClockEntry struct 17 …public ClockEntry(ulong period, long frequency, Action handler, IEmulationElement owner, string lo… in ClockEntry() argument 33 …public ClockEntry With(ulong? period = null, long? frequency = null, Action handler = null, bool? … in With() argument 36 var result = new ClockEntry( in With()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Tests/UnitTests/ |
| D | TimeTests.cs | 24 …clocksource.AddClockEntry(new ClockEntry(2, 1, () => counter++, null, String.Empty) { Value = 0 }); in ShouldTickWithOneHandler() 42 …clocksource.AddClockEntry(new ClockEntry(2, 1, () => counterA++, null, String.Empty) { Value = 0 }… in ShouldTickWithTwoHandlers() 43 …clocksource.AddClockEntry(new ClockEntry(5, 1, () => counterB++, null, String.Empty) { Value = 0 }… in ShouldTickWithTwoHandlers() 68 clockSource.AddClockEntry(new ClockEntry(10000, 10, firstHandler, null, String.Empty)); in ShouldHaveHandlersInSync() 69 …clockSource.AddClockEntry(new ClockEntry(10, 1, () => values.Add(clockSource.GetClockEntry(firstHa… in ShouldHaveHandlersInSync() 86 ClockEntry entryA = new ClockEntry(1000, 1, handlerA, null, String.Empty) { Value = 0 }; in ShouldObserveShorterPeriodClockAfterAdd() 87 ClockEntry entryB = new ClockEntry(100, 1, handlerB, null, String.Empty) { Value = 0 }; in ShouldObserveShorterPeriodClockAfterAdd()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Peripherals/Timers/ |
| D | SimpleTicker.cs | 21 … machine.ClockSource.AddClockEntry(new ClockEntry(periodInMs, 1000, OnTick, this, String.Empty)); in SimpleTicker()
|
| D | ComparingTimer.cs | 244 …var clockEntry = new ClockEntry(initialCompare, frequency / divider, CompareReachedInternal, owner… in InternalReset()
|
| D | LimitTimer.cs | 316 …var clockEntry = new ClockEntry(initialLimit, frequency / divider, OnLimitReached, owner, localNa… in InternalReset()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/Timers/ |
| D | TegraTimer.cs | 97 …var clockEntry = new ClockEntry((1 << 29) - 1, 1000000, OnLimitReached, this, string.Empty, enable… in Reset()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/I2C/ |
| D | BetrustedSocI2C.cs | 28 …irqTimeoutCallback = new ClockEntry(IrqTimeout, 1000, this.FinishTransaction, machine, "Irq Schedu… in BetrustedSocI2C() 301 private ClockEntry irqTimeoutCallback;
|
| D | BetrustedEcI2C.cs | 30 …irqTimeoutCallback = new ClockEntry(IrqTimeout, 1000, this.FinishTransaction, machine, "Irq Schedu… in BetrustedEcI2C() 346 private ClockEntry irqTimeoutCallback;
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Extensions/UserInterface/ |
| D | MonitorExecutorExtensions.cs | 35 … var clockEntry = new ClockEntry((ulong)milliseconds, 1000, engine.Action, machine, name); in ExecutePythonEvery()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Cores/PowerPC/ |
| D | PowerPc64.cs | 32 …new ClockEntry(long.MaxValue / 2, 128000000, DecrementerHandler, this, String.Empty, false, Direct… in PowerPc64()
|
| D | PowerPc.cs | 31 …new ClockEntry(long.MaxValue / 2, 128000000, DecrementerHandler, this, String.Empty, false, Direct… in PowerPc()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Core/ |
| D | Machine.cs | 644 …machine.ClockSource.AddClockEntry(new ClockEntry(1, frequency, this.action, owner ?? machine, name… in ManagedThreadWrappingClockEntry() 650 …machine.ClockSource.AddClockEntry(new ClockEntry(period.Ticks, (long)TimeInterval.TicksPerSecond, … in ManagedThreadWrappingClockEntry() 1149 …ClockSource.AddClockEntry(new ClockEntry(delay.Ticks, (long)TimeInterval.TicksPerSecond, clockEntr… in ScheduleAction()
|