/foundation/ai/intelligent_voice_framework/utils/ |
H A D | time_util.h | 46 timespec timeStart_ { 0, 0 }; 58 static void GetTime(timespec &start); 59 static uint32_t TimeElapse(const timespec &start); 60 static void TimeElapse(const timespec &start, const timespec &end); 61 static long TimeElapseUs(const timespec &start, const timespec &end); 65 inline void TimeUtil::GetTime(timespec &start) in GetTime() 72 inline uint32_t TimeUtil::TimeElapse(const timespec &start) in TimeElapse() 74 timespec curren in TimeElapse() [all...] |
/foundation/communication/dsoftbus/components/nstackx/nstackx_util/interface/ |
H A D | nstackx_timer.h | 41 NSTACKX_EXPORT uint32_t GetTimeDiffMs(const struct timespec *etv, const struct timespec *stv); 46 NSTACKX_EXPORT uint32_t GetTimeDiffUs(const struct timespec *etv, const struct timespec *stv);
|
/foundation/communication/dsoftbus/components/nstackx/nstackx_util/core/ |
H A D | nstackx_timer.c | 22 uint32_t GetTimeDiffMs(const struct timespec *etv, const struct timespec *stv) in GetTimeDiffMs() 44 uint32_t GetTimeDiffUs(const struct timespec *etv, const struct timespec *stv) in GetTimeDiffUs()
|
/foundation/multimedia/camera_lite/test/unittest/ |
H A D | camera_lite_test.cpp | 600 struct timespec tv1 = {0}; in HWTEST_F() 601 struct timespec tv2 = {0}; in HWTEST_F() 626 struct timespec tv1 = {0}; in HWTEST_F() 627 struct timespec tv2 = {0}; in HWTEST_F() 670 struct timespec tv1 = {0}; in HWTEST_F() 671 struct timespec tv2 = {0}; in HWTEST_F() 713 struct timespec tv1 = {0}; in HWTEST_F() 714 struct timespec tv2 = {0}; in HWTEST_F() 754 struct timespec tv1 = {0}; in HWTEST_F() 755 struct timespec tv in HWTEST_F() [all...] |
/foundation/multimedia/media_foundation/src/osal/task/pthread/ |
H A D | condition_variable.cpp | 28 inline long long TmToNs(struct timespec tm) in TmToNs() 33 inline struct timespec NsToTm(long long ns) in NsToTm() 101 struct timespec timeout = {0, 0}; in WaitFor() 117 struct timespec timeout = {0, 0}; in WaitFor()
|
/foundation/multimedia/media_foundation/engine/foundation/osal/thread/ |
H A D | condition_variable.cpp | 23 inline long long TmToNs(struct timespec tm) in TmToNs() 28 inline struct timespec NsToTm(long long ns) in NsToTm() 93 struct timespec timeout = {0, 0}; in WaitFor()
|
/foundation/communication/dsoftbus/components/nstackx/nstackx_core/dfile/include/ |
H A D | nstackx_dfile_transfer.h | 118 struct timespec retryAllPacketTs; 119 struct timespec heartBeatTs; 149 struct timespec startTs; 168 struct timespec ts; 235 struct timespec startTime; 247 struct timespec measureBefore; 248 struct timespec ackDropTimer;
|
/foundation/multimedia/media_lite/services/player_lite/impl/player_control/player/fsm/src/ |
H A D | fsm_common.cpp | 29 struct timespec ts = { 0, 0 }; in FsmGetCurTimeUs() 53 struct timespec ts = { 0, 0 }; in FsmCondTimewait()
|
/foundation/resourceschedule/background_task_mgr/services/common/src/ |
H A D | time_provider.cpp | 22 struct timespec ts; in GetCurrentTime()
|
/foundation/multimedia/audio_framework/frameworks/native/opensles/test/unittest/opensles_player_test/src/ |
H A D | audio_opensles_player_unit_test.cpp | 885 struct timespec tv1 = {0}; in HWTEST() 886 struct timespec tv2 = {0}; in HWTEST() 899 struct timespec tv1 = {0}; in HWTEST() 900 struct timespec tv2 = {0}; in HWTEST() 913 struct timespec tv1 = {0}; in HWTEST() 914 struct timespec tv2 = {0}; in HWTEST() 929 struct timespec tv1 = {0}; in HWTEST() 930 struct timespec tv2 = {0}; in HWTEST() 945 struct timespec tv1 = {0}; in HWTEST() 946 struct timespec tv in HWTEST() [all...] |
/foundation/multimedia/audio_framework/interfaces/inner_api/native/audiocommon/include/ |
H A D | timestamp.h | 38 struct timespec time;
|
/foundation/multimedia/av_codec/test/unittest/video_test/vcodec_framework_test/func_sample/sample/ |
H A D | avcc_reader.cpp | 32 struct timespec now;
|
/foundation/resourceschedule/ffrt/interfaces/kits/c/ |
H A D | condition_variable.h | 106 FFRT_C_API int ffrt_cond_timedwait(ffrt_cond_t* cond, ffrt_mutex_t* mutex, const struct timespec* time_point);
|
/foundation/systemabilitymgr/samgr_lite/samgr/adapter/posix/ |
H A D | time_adapter.c | 40 struct timespec ts = {0, 0};
in SAMGR_GetProcessTime()
|
/foundation/multimedia/audio_framework/frameworks/native/opensles/test/unittest/opensles_recorder_test/src/ |
H A D | audio_opensles_recorder_unit_test.cpp | 325 struct timespec tv1 = {0}; in HWTEST() 326 struct timespec tv2 = {0}; in HWTEST() 342 struct timespec tv1 = {0}; in HWTEST() 343 struct timespec tv2 = {0}; in HWTEST() 361 struct timespec tv1 = {0}; in HWTEST() 362 struct timespec tv2 = {0}; in HWTEST() 380 struct timespec tv1 = {0}; in HWTEST() 381 struct timespec tv2 = {0}; in HWTEST() 434 struct timespec tv1 = {0}; in HWTEST() 435 struct timespec tv in HWTEST() [all...] |
/foundation/multimedia/audio_framework/services/audio_service/common/src/ |
H A D | futex_tool.cpp | 37 void TimeoutToRelativeTime(int64_t timeout, struct timespec &realtime) in TimeoutToRelativeTime() 55 struct timespec waitTime; in FutexWait()
|
/foundation/communication/ipc/utils/src/ |
H A D | rpc_session_handle.c | 25 static int32_t GetWaitTime(struct timespec *waitTime) in GetWaitTime() 95 struct timespec waitTime; in WaitForSessionIdReady()
|
/foundation/graphic/graphic_2d/rosen/modules/hyper_graphic_manager/core/utils/ |
H A D | hgm_one_shot_timer.cpp | 31 struct timespec t; in SystemTime() 37 void CalculateTimeoutTime(std::chrono::nanoseconds timestamp, timespec* spec) in CalculateTimeoutTime() 114 struct timespec ts; in Loop()
|
/foundation/communication/ipc/ipc/test/unittest/ipc/client/ |
H A D | IpcClientTest.cpp | 244 struct timespec start = {0, 0}; in HWTEST_F() 245 struct timespec end = {0, 0}; in HWTEST_F() 267 struct timespec start = {0, 0}; in HWTEST_F() 268 struct timespec end = {0, 0}; in HWTEST_F()
|
/foundation/graphic/graphic_utils_lite/frameworks/ |
H A D | hal_tick.cpp | 40 struct timespec time; in GetTime()
|
/foundation/multimedia/media_foundation/services/media_monitor/common/src/ |
H A D | monitor_utils.cpp | 47 struct timespec time; in GetCurSec()
|
/foundation/multimedia/media_lite/services/player_lite/impl/player_control/player/ |
H A D | liteplayer_comm.cpp | 42 struct timespec ts = { 0, 0 }; in PlayerControlGetCurRelativeTime()
|
/foundation/window/window_manager/window_scene/intention_event/utils/src/ |
H A D | util.cpp | 33 struct timespec ts = { 0, 0 }; in GetSysClockTime()
|
/foundation/communication/dsoftbus/tests/sdk/transmission/trans_channel/udp/distributed_stream/ |
H A D | distributed_stream_test.h | 38 struct timespec time; in GetCurrent()
|
/foundation/multimedia/av_codec/test/unittest/video_test/vcodec_framework_test/stable_sample/sample/decoder/ |
H A D | vdec_sample.cpp | 56 struct timespec now;
|