Searched refs:systemTimestamp (Results 1 – 11 of 11) sorted by relevance
/openbmc/telemetry/tests/src/ |
H A D | test_metric.cpp | 18 constexpr Milliseconds systemTimestamp = 42ms; variable 26 clockFake.system.set(systemTimestamp); in TestMetric() 232 .expectedReading(systemTimestamp + 16ms, 7.0); in defaultCollectionFunctionParams() 259 .expectedReading(systemTimestamp + 16ms, 3.0), 263 .expectedReading(systemTimestamp + 16ms, 7.0), 266 .expectedReading(systemTimestamp + 16ms, 3.0) 279 .expectedReading(systemTimestamp + 16ms, 14.0), 283 .expectedReading(systemTimestamp + 16ms, 14.0), 287 .expectedReading(systemTimestamp + 16ms, 7.0), 290 .expectedReading(systemTimestamp + 16ms, 14.0) [all …]
|
H A D | test_report.cpp | 36 constexpr Milliseconds systemTimestamp = 55ms; variable 72 clockFake.system.set(systemTimestamp); in TestReport() 777 EXPECT_THAT(Milliseconds{timestamp}, Eq(systemTimestamp + 10ms)); in TEST_P() 821 EXPECT_THAT(Milliseconds{timestamp}, Eq(systemTimestamp + 10ms)); in TEST_F() 904 EXPECT_THAT(Milliseconds{timestamp}, Eq(systemTimestamp + 10ms)); in TEST_F()
|
/openbmc/telemetry/src/ |
H A D | metric.cpp | 59 const auto systemTimestamp = in getUpdatedReadings() local 60 std::chrono::duration_cast<Milliseconds>(clock->systemTimestamp()) in getUpdatedReadings() 69 readings[i].timestamp = systemTimestamp; in getUpdatedReadings() 84 systemTimestamp); in getUpdatedReadings()
|
H A D | on_change_threshold.cpp | 68 Milliseconds timestamp = clock->systemTimestamp(); in commit()
|
H A D | discrete_threshold.cpp | 98 Milliseconds timestamp = clock->systemTimestamp(); in commit()
|
H A D | numeric_threshold.cpp | 122 Milliseconds timestamp = clock->systemTimestamp(); in commit()
|
H A D | report.cpp | 473 std::chrono::duration_cast<Milliseconds>(clock->systemTimestamp()) in updateReadings()
|
/openbmc/telemetry/src/interfaces/ |
H A D | clock.hpp | 16 virtual Milliseconds systemTimestamp() const noexcept = 0;
|
/openbmc/telemetry/tests/src/mocks/ |
H A D | clock_mock.hpp | 12 MOCK_METHOD(Milliseconds, systemTimestamp, (), (const, noexcept, override));
|
/openbmc/telemetry/src/utils/ |
H A D | clock.hpp | 18 Milliseconds systemTimestamp() const noexcept override in systemTimestamp() function in Clock
|
/openbmc/telemetry/tests/src/fakes/ |
H A D | clock_fake.hpp | 51 Milliseconds systemTimestamp() const noexcept override in systemTimestamp() function in ClockFake
|