Home
last modified time | relevance | path

Searched refs:startMs (Results 1 – 12 of 12) sorted by relevance

/ohos5.0/foundation/multimedia/camera_framework/services/deferred_processing_service/src/base/timer/
H A Dsteady_clock.cpp35 uint64_t SteadyClock::GetElapsedTimeMs(uint64_t startMs) in GetElapsedTimeMs() argument
39 if (currTime > startMs) { in GetElapsedTimeMs()
40 diff = currTime - startMs; in GetElapsedTimeMs()
42 …_ERR_LOG("invalid parameter, startMs: %{public}d, currTime: %{public}d", static_cast<int>(startMs), in GetElapsedTimeMs()
/ohos5.0/drivers/hdf_core/framework/test/unittest/platform/common/
H A Dadc_test.c261 uint64_t startMs; in AdcIfPerformanceTest() local
273 startMs = OsalGetSysTimeMs(); in AdcIfPerformanceTest()
277 useTime = endMs - startMs; in AdcIfPerformanceTest()
H A Ddac_test.c246 uint64_t startMs; in DacIfPerformanceTest() local
260 startMs = OsalGetSysTimeMs(); in DacIfPerformanceTest()
268 useTime = endMs - startMs; in DacIfPerformanceTest()
H A Dwatchdog_test.c272 uint64_t startMs; in TestCaseWatchdogIfPerformanceTest() local
281 startMs = OsalGetSysTimeMs(); in TestCaseWatchdogIfPerformanceTest()
285 useTime = endMs - startMs; in TestCaseWatchdogIfPerformanceTest()
H A Dclock_test.c338 uint64_t startMs; in ClockIfPerformanceTest() local
349 startMs = OsalGetSysTimeMs(); in ClockIfPerformanceTest()
353 useTime = endMs - startMs; in ClockIfPerformanceTest()
H A Di2c_test.c343 uint64_t startMs; in I2cTestPeformance() local
355 startMs = OsalGetSysTimeMs(); in I2cTestPeformance()
360 useTime = endMs - startMs; in I2cTestPeformance()
H A Dtimer_test.c397 uint64_t startMs; in TimerIfPerformanceTest() local
407 startMs = OsalGetSysTimeMs(); in TimerIfPerformanceTest()
411 useTime = endMs - startMs; in TimerIfPerformanceTest()
H A Duart_test.c286 uint64_t startMs; in UartIfPerformanceTest() local
294 startMs = OsalGetSysTimeMs(); in UartIfPerformanceTest()
298 useTime = endMs - startMs; in UartIfPerformanceTest()
H A Dpwm_test.c346 uint64_t startMs; in PwmIfPerformanceTest() local
350 startMs = OsalGetSysTimeMs(); in PwmIfPerformanceTest()
354 useTime = endMs - startMs; in PwmIfPerformanceTest()
H A Dgpio_test.c464 uint64_t startMs; in GpioIfPerformanceTest() local
475 startMs = OsalGetSysTimeMs(); in GpioIfPerformanceTest()
479 useTime = endMs - startMs; in GpioIfPerformanceTest()
H A Dspi_test.c494 uint64_t startMs; in SpiIfPerformanceTest() local
498 startMs = OsalGetSysTimeMs(); in SpiIfPerformanceTest()
503 useTime = endMs - startMs; in SpiIfPerformanceTest()
/ohos5.0/foundation/multimedia/camera_framework/services/deferred_processing_service/include/base/timer/
H A Dsteady_clock.h37 static uint64_t GetElapsedTimeMs(uint64_t startMs);