MCPcopy Create free account
hub / github.com/PlotJuggler/PlotJuggler / sampleAtOrAfterTime

Method sampleAtOrAfterTime

pj_datastore/src/query.cpp:410–413  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

408}
409
410std::optional<SeriesSample> SeriesReader::sampleAtOrAfterTime(Timestamp t) const {
411 const auto index = indexAtOrAfterTime(t);
412 return index.has_value() ? sampleAt(*index) : std::nullopt;
413}
414
415SeriesCursor SeriesReader::samples(Range<Timestamp> time_range) const {
416 // The cursor raises its own lower bound to the retention floor, so logically-

Callers 2

TEST_FFunction · 0.80
TEST_FFunction · 0.80

Calls

no outgoing calls

Tested by 2

TEST_FFunction · 0.64
TEST_FFunction · 0.64