Home
last modified time | relevance | path

Searched refs:endTime (Results 1 - 7 of 7) sorted by relevance

/drivers/hdf_core/adapter/uhdf2/test/unittest/platform/i2c/
H A Dui2c_test.cpp69 struct timespec endTime; in HWTEST_F() local
70 clock_gettime(CLOCK_MONOTONIC, &endTime); in HWTEST_F()
72 uint64_t nanoSecUsed = SecToNanosec(endTime.tv_sec - startTime.tv_sec) + endTime.tv_nsec - startTime.tv_nsec; in HWTEST_F()
/drivers/hdf_core/framework/test/unittest/model/network/wifi/unittest/message/
H A Dhdf_single_node_message_test.c200 OsalTimespec endTime; in MessageSingleNodeTest003() local
212 MSG_BREAK_IF_FUNCTION_FAILED(errCode, OsalGetTime(&endTime)); in MessageSingleNodeTest003()
214 MSG_BREAK_IF_FUNCTION_FAILED(errCode, OsalDiffTime(&startTime, &endTime, &diffTime)); in MessageSingleNodeTest003()
300 OsalTimespec endTime; in MessageSingleNodeTest005() local
318 MSG_BREAK_IF_FUNCTION_FAILED(errCode, OsalGetTime(&endTime)); in MessageSingleNodeTest005()
320 MSG_BREAK_IF_FUNCTION_FAILED(errCode, OsalDiffTime(&startTime, &endTime, &diffTime)); in MessageSingleNodeTest005()
/drivers/peripheral/distributed_audio/hdi_service/audio/v1_0/src/
H A Daudio_capture_interface_impl.cpp103 int64_t endTime = GetNowTimeUs(); in CaptureFrame() local
104 if (IsOutDurationRange(startTime, endTime, lastCaptureStartTime_)) { in CaptureFrame()
106 " us", endTime - startTime, startTime - lastCaptureStartTime_); in CaptureFrame()
H A Daudio_render_interface_impl.cpp128 int64_t endTime = GetNowTimeUs(); in RenderFrame() local
129 if (IsOutDurationRange(startTime, endTime, lastRenderStartTime_)) { in RenderFrame()
131 " us", endTime - startTime, startTime - lastRenderStartTime_); in RenderFrame()
/drivers/peripheral/distributed_audio/hdi_service/common/utils/include/
H A Ddaudio_utils.h66 bool IsOutDurationRange(int64_t startTime, int64_t endTime, int64_t lastStartTime);
/drivers/peripheral/distributed_audio/hdi_service/common/utils/src/
H A Ddaudio_utils.cpp222 bool IsOutDurationRange(int64_t startTime, int64_t endTime, int64_t lastStartTime) in IsOutDurationRange() argument
224 int64_t currentInterval = endTime - startTime; in IsOutDurationRange()
/drivers/hdf_core/framework/model/audio/usb/src/
H A Daudio_usb_endpoints.c583 unsigned long endTime = jiffies + msecs_to_jiffies(PACKETS_PER_SECOND_1000); in AudioUsbWaitClearUrbs() local
593 } while (time_before(jiffies, endTime)); in AudioUsbWaitClearUrbs()

Completed in 5 milliseconds