public void SetStandardSteadyClockRtcOffset(KThread thread, TimeSpanType rtcOffset) { StandardSteadyClock.SetSetupValue(rtcOffset); TimeSpanType currentTimePoint = StandardSteadyClock.GetCurrentRawTimePoint(thread); SharedMemory.SetSteadyClockRawTimePoint(thread, currentTimePoint); }
public void SetStandardSteadyClockRtcOffset(ITickSource tickSource, TimeSpanType rtcOffset) { StandardSteadyClock.SetSetupValue(rtcOffset); TimeSpanType currentTimePoint = StandardSteadyClock.GetCurrentRawTimePoint(tickSource); SharedMemory.SetSteadyClockRawTimePoint(tickSource, currentTimePoint); }
public void SetupStandardSteadyClock(KThread thread, UInt128 clockSourceId, TimeSpanType setupValue, TimeSpanType internalOffset, TimeSpanType testOffset, bool isRtcResetDetected) { SetupInternalStandardSteadyClock(clockSourceId, setupValue, internalOffset, testOffset, isRtcResetDetected); TimeSpanType currentTimePoint = StandardSteadyClock.GetCurrentRawTimePoint(thread); SharedMemory.SetupStandardSteadyClock(thread, clockSourceId, currentTimePoint); // TODO: propagate IPC late binding of "time:s" and "time:p" }
private void SetupInternalStandardSteadyClock(UInt128 clockSourceId, TimeSpanType setupValue, TimeSpanType internalOffset, TimeSpanType testOffset, bool isRtcResetDetected) { StandardSteadyClock.SetClockSourceId(clockSourceId); StandardSteadyClock.SetSetupValue(setupValue); StandardSteadyClock.SetInternalOffset(internalOffset); StandardSteadyClock.SetTestOffset(testOffset); if (isRtcResetDetected) { StandardSteadyClock.SetRtcReset(); } StandardSteadyClock.MarkInitialized(); // TODO: propagate IPC late binding of "time:s" and "time:p" }