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), 266 .expectedReading(systemTimestamp + 16ms, 3.0) 303 .expectedReading(systemTimestamp + 16ms, 308 .expectedReading(systemTimestamp + 16ms, 316 .expectedReading(systemTimestamp + 16ms, 329 .expectedReading(systemTimestamp + 16ms, 334 .expectedReading(systemTimestamp + 16ms, [all …]
|
H A D | test_report.cpp | 36 constexpr Milliseconds systemTimestamp = 55ms; variable 72 clockFake.system.set(systemTimestamp); in TestReport() 755 EXPECT_THAT(Milliseconds{timestamp}, Eq(systemTimestamp + 10ms)); in TEST_P() 799 EXPECT_THAT(Milliseconds{timestamp}, Eq(systemTimestamp + 10ms)); in TEST_F() 882 EXPECT_THAT(Milliseconds{timestamp}, Eq(systemTimestamp + 10ms)); in TEST_F()
|
/openbmc/telemetry/src/ |
H A D | metric.cpp | 60 const auto systemTimestamp = in getUpdatedReadings() local 61 std::chrono::duration_cast<Milliseconds>(clock->systemTimestamp()) in getUpdatedReadings() 70 readings[i].timestamp = systemTimestamp; in getUpdatedReadings() 85 systemTimestamp); in getUpdatedReadings()
|
H A D | on_change_threshold.cpp | 69 Milliseconds timestamp = clock->systemTimestamp(); in commit()
|
H A D | discrete_threshold.cpp | 99 Milliseconds timestamp = clock->systemTimestamp(); in commit()
|
H A D | numeric_threshold.cpp | 123 Milliseconds timestamp = clock->systemTimestamp(); in commit()
|
H A D | report.cpp | 472 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
|