Home
last modified time | relevance | path

Searched refs:ClockEntry (Results 1 – 14 of 14) sorted by relevance

/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Time/
DIClockSource.cs16 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()
DBaseClockSource.cs22 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 …]
DClockEntry.cs15 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/
DTimeTests.cs24 …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/
DSimpleTicker.cs21 … machine.ClockSource.AddClockEntry(new ClockEntry(periodInMs, 1000, OnTick, this, String.Empty)); in SimpleTicker()
DComparingTimer.cs244 …var clockEntry = new ClockEntry(initialCompare, frequency / divider, CompareReachedInternal, owner… in InternalReset()
DLimitTimer.cs316 …var clockEntry = new ClockEntry(initialLimit, frequency / divider, OnLimitReached, owner, localNa… in InternalReset()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/Timers/
DTegraTimer.cs97 …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/
DBetrustedSocI2C.cs28 …irqTimeoutCallback = new ClockEntry(IrqTimeout, 1000, this.FinishTransaction, machine, "Irq Schedu… in BetrustedSocI2C()
301 private ClockEntry irqTimeoutCallback;
DBetrustedEcI2C.cs30 …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/
DMonitorExecutorExtensions.cs35 … var clockEntry = new ClockEntry((ulong)milliseconds, 1000, engine.Action, machine, name); in ExecutePythonEvery()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Cores/PowerPC/
DPowerPc64.cs32 …new ClockEntry(long.MaxValue / 2, 128000000, DecrementerHandler, this, String.Empty, false, Direct… in PowerPc64()
DPowerPc.cs31 …new ClockEntry(long.MaxValue / 2, 128000000, DecrementerHandler, this, String.Empty, false, Direct… in PowerPc()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Core/
DMachine.cs644 …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()