Home
last modified time | relevance | path

Searched refs:timespec (Results 1 - 25 of 185) sorted by relevance

12345678

/foundation/ai/intelligent_voice_framework/utils/
H A Dtime_util.h46 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 Dnstackx_timer.h41 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 Dnstackx_timer.c22 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 Dcamera_lite_test.cpp600 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 Dcondition_variable.cpp28 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 Dcondition_variable.cpp23 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 Dnstackx_dfile_transfer.h118 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 Dfsm_common.cpp29 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 Dtime_provider.cpp22 struct timespec ts; in GetCurrentTime()
/foundation/multimedia/audio_framework/frameworks/native/opensles/test/unittest/opensles_player_test/src/
H A Daudio_opensles_player_unit_test.cpp885 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 Dtimestamp.h38 struct timespec time;
/foundation/multimedia/av_codec/test/unittest/video_test/vcodec_framework_test/func_sample/sample/
H A Davcc_reader.cpp32 struct timespec now;
/foundation/resourceschedule/ffrt/interfaces/kits/c/
H A Dcondition_variable.h106 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 Dtime_adapter.c40 struct timespec ts = {0, 0}; in SAMGR_GetProcessTime()
/foundation/multimedia/audio_framework/frameworks/native/opensles/test/unittest/opensles_recorder_test/src/
H A Daudio_opensles_recorder_unit_test.cpp325 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 Dfutex_tool.cpp37 void TimeoutToRelativeTime(int64_t timeout, struct timespec &realtime) in TimeoutToRelativeTime()
55 struct timespec waitTime; in FutexWait()
/foundation/communication/ipc/utils/src/
H A Drpc_session_handle.c25 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 Dhgm_one_shot_timer.cpp31 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 DIpcClientTest.cpp244 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 Dhal_tick.cpp40 struct timespec time; in GetTime()
/foundation/multimedia/media_foundation/services/media_monitor/common/src/
H A Dmonitor_utils.cpp47 struct timespec time; in GetCurSec()
/foundation/multimedia/media_lite/services/player_lite/impl/player_control/player/
H A Dliteplayer_comm.cpp42 struct timespec ts = { 0, 0 }; in PlayerControlGetCurRelativeTime()
/foundation/window/window_manager/window_scene/intention_event/utils/src/
H A Dutil.cpp33 struct timespec ts = { 0, 0 }; in GetSysClockTime()
/foundation/communication/dsoftbus/tests/sdk/transmission/trans_channel/udp/distributed_stream/
H A Ddistributed_stream_test.h38 struct timespec time; in GetCurrent()
/foundation/multimedia/av_codec/test/unittest/video_test/vcodec_framework_test/stable_sample/sample/decoder/
H A Dvdec_sample.cpp56 struct timespec now;

Completed in 14 milliseconds

12345678