Home
last modified time | relevance | path

Searched refs:GetNowTimeUs (Results 1 - 10 of 10) sorted by relevance

/foundation/distributedhardware/distributed_audio/common/src/
H A Ddaudio_latency_test.cpp44 if (GetNowTimeUs() - lastPlayTime_ <= TWO_BEEP_TIME_INTERVAL) { in AddPlayTime()
50 lastPlayTime_ = GetNowTimeUs(); in AddPlayTime()
61 if (GetNowTimeUs() - lastRecordTime_ <= TWO_BEEP_TIME_INTERVAL) { in AddRecordTime()
67 lastRecordTime_ = GetNowTimeUs(); in AddRecordTime()
94 return GetNowTimeUs(); in RecordBeepTime()
H A Ddaudio_util.cpp215 int64_t GetNowTimeUs() in GetNowTimeUs() function
/foundation/distributedhardware/distributed_audio/common/test/unittest/src/
H A Ddaudio_utils_test.cpp58 int64_t t = GetNowTimeUs(); in HWTEST_F()
61 t = GetNowTimeUs(); in HWTEST_F()
66 t = GetNowTimeUs(); in HWTEST_F()
69 t = GetNowTimeUs(); in HWTEST_F()
77 t = GetNowTimeUs(); in HWTEST_F()
/foundation/multimedia/audio_framework/services/audio_service/test/example/
H A Daudio_process_client_test.cpp239 int64_t GetNowTimeUs();
335 int64_t AudioProcessTestCallback::GetNowTimeUs() in GetNowTimeUs() function in OHOS::AudioStandard::AudioProcessTestCallback
361 return GetNowTimeUs(); in RecordBeepTime()
387 cout << "First record time : " << GetNowTimeUs() << endl; in CaptureToFile()
392 if (GetNowTimeUs() - recordLastTime_ <= biHighFrameTimeMs) { in CaptureToFile()
398 recordLastTime_ = GetNowTimeUs(); in CaptureToFile()
399 cout << "Capture beep frame: " << recordIndex_ << " record time : " << GetNowTimeUs() << endl; in CaptureToFile()
429 cout << "First play time: " << GetNowTimeUs() << endl; in RenderFromFile()
433 if (GetNowTimeUs() - playLastTime_ <= biHighFrameTimeMs) { in RenderFromFile()
439 playLastTime_ = GetNowTimeUs(); in RenderFromFile()
[all...]
/foundation/distributedhardware/distributed_audio/services/audioclient/micclient/src/
H A Ddmic_client.cpp245 int64_t startTime = GetNowTimeUs(); in AudioFwkCaptureData()
257 int64_t endTime = GetNowTimeUs(); in AudioFwkCaptureData()
272 int64_t startTransTime = GetNowTimeUs(); in AudioFwkCaptureData()
278 int64_t endTransTime = GetNowTimeUs(); in AudioFwkCaptureData()
/foundation/distributedhardware/distributed_audio/services/audioclient/spkclient/src/
H A Ddspeaker_client.cpp276 int64_t startTime = GetNowTimeUs(); in PlayThreadRunning()
306 int64_t endTime = GetNowTimeUs(); in PlayThreadRunning()
344 int64_t startTime = GetNowTimeUs(); in OnDecodeTransDataDone()
356 int64_t endTime = GetNowTimeUs(); in OnDecodeTransDataDone()
/foundation/distributedhardware/distributed_audio/services/test_example/
H A Ddistributedaudiotest.cpp147 static int64_t GetNowTimeUs() in GetNowTimeUs() function
321 int64_t endTime = GetNowTimeUs(); in WriteStreamWait()
346 int64_t startTime = GetNowTimeUs(); in Play()
534 int64_t endTime = GetNowTimeUs(); in ReadStreamWait()
560 int64_t startTime = GetNowTimeUs(); in Capture()
/foundation/distributedhardware/distributed_audio/common/include/
H A Ddaudio_util.h37 int64_t GetNowTimeUs();
/foundation/distributedhardware/distributed_audio/services/audiomanager/managersource/src/
H A Ddspeaker_dev.cpp301 int64_t startTime = GetNowTimeUs(); in WriteStreamData()
310 int64_t endTime = GetNowTimeUs(); in WriteStreamData()
H A Ddmic_dev.cpp351 int64_t startTime = GetNowTimeUs(); in ReadStreamData()
374 int64_t endTime = GetNowTimeUs(); in ReadStreamData()

Completed in 9 milliseconds