Lines Matching refs:timestamp
109 out Out sample, out TimeInterval timestamp) where T: RESDSample, new()
111 … var result = @this.TryGetCurrentSample(peripheral, out var originalSample, out timestamp);
161 …public RESDStreamStatus TryGetSample(ulong timestamp, out Out sample, long? overrideSampleOffsetTi… in TryGetSample() argument
163 var result = TryGetSample(timestamp, out T originalSample, overrideSampleOffsetTime); in TryGetSample()
168 …treamStatus TryGetCurrentSample(IPeripheral peripheral, out Out sample, out TimeInterval timestamp) in TryGetCurrentSample() argument
170 var result = TryGetCurrentSample(peripheral, out T originalSample, out timestamp); in TryGetCurrentSample()
178 …(sample, timestamp, status) => newSampleCallback(transformer.TransformSample(sample), timestamp, s… in StartSampleFeedThread()
208 …DStreamStatus TryGetCurrentSample(IPeripheral peripheral, out T sample, out TimeInterval timestamp) in TryGetCurrentSample() argument
211 timestamp = machine.ClockSource.CurrentValue; in TryGetCurrentSample()
212 var timestampInNanoseconds = timestamp.TotalNanoseconds; in TryGetCurrentSample()
216 …public RESDStreamStatus TryGetSample(ulong timestamp, out T sample, long? overrideSampleOffsetTime… in TryGetSample() argument
218 currentTimestampInNanoseconds = timestamp; in TryGetSample()
222 if(timestamp >= (ulong)(-currentSampleOffsetTime)) in TryGetSample()
224 timestamp = timestamp - (ulong)(-currentSampleOffsetTime); in TryGetSample()
229 + " after applying the {1}ns offset", timestamp, currentSampleOffsetTime); in TryGetSample()
236 timestamp = timestamp + (ulong)currentSampleOffsetTime; in TryGetSample()
250 switch(currentBlock.TryGetSample(timestamp, out sample)) in TryGetSample()
253 … "RESD: Tried getting sample at timestamp {0}ns, before the first sample in the block", timestamp); in TryGetSample()
258 … Owner?.Log(LogLevel.Debug, "RESD: Getting sample at timestamp {0}ns: {1}", timestamp, sample); in TryGetSample()
262 …D: Tried getting sample at timestamp {0}ns after the last sample of the current block", timestamp); in TryGetSample()
281 var status = TryGetCurrentSample(owner, out var sample, out var timestamp); in StartSampleFeedThread()
282 newSampleCallback(sample, timestamp, status); in StartSampleFeedThread()