Searched refs:ts (Results 1 - 6 of 6) sorted by relevance
/drivers/hdf_core/framework/support/posix/src/ |
H A D | osal_time.c | 21 struct timespec ts; in OsalGetTime() local 28 (void)memset_s(&ts, sizeof(ts), 0, sizeof(ts)); in OsalGetTime() 29 clock_gettime(CLOCK_MONOTONIC, &ts); in OsalGetTime() 30 time->sec = (uint64_t)ts.tv_sec; in OsalGetTime() 31 time->usec = (uint64_t)ts.tv_nsec / HDF_KILO_UNIT; in OsalGetTime() 74 struct timespec ts; in OsalMSleep() local 76 ts.tv_sec = (time_t)ms / HDF_KILO_UNIT; in OsalMSleep() 77 ts in OsalMSleep() 87 struct timespec ts; OsalUSleep() local [all...] |
/drivers/hdf_core/adapter/khdf/linux/osal/src/ |
H A D | osal_time.c | 36 struct timespec64 ts; in OsalGetTime() local 43 (void)memset_s(&ts, sizeof(ts), 0, sizeof(ts)); in OsalGetTime() 44 ktime_get_ts64(&ts); in OsalGetTime() 45 time->sec = ts.tv_sec; in OsalGetTime() 46 time->usec = ts.tv_nsec / HDF_KILO_UNIT; in OsalGetTime()
|
/drivers/peripheral/display/hal/default_standard/src/display_device/vsync/ |
H A D | sorft_vsync.cpp | 82 struct timespec ts;
in WorkThread() local 88 clock_gettime(CLOCK_MONOTONIC, &ts);
in WorkThread() 89 uint64_t time = ts.tv_nsec;
in WorkThread()
|
/drivers/peripheral/camera/vdi_base/usb_camera/pipeline_core/src/node/ |
H A D | codec_node.cpp | 288 struct timespec ts = {}; in DeliverBuffer() local 290 clock_gettime(CLOCK_MONOTONIC, &ts); in DeliverBuffer() 291 timestamp = ts.tv_nsec + ts.tv_sec * TIME_CONVERSION_NS_S; in DeliverBuffer()
|
/drivers/hdf_core/interfaces/inner_api/hdi/base/ |
H A D | hdi_smq.h | 241 struct timespec ts; in GetNanoTime() local 242 clock_gettime(CLOCK_MONOTONIC, &ts); in GetNanoTime() 243 return (ts.tv_sec * SEC_TO_NANOSEC + ts.tv_nsec); in GetNanoTime()
|
/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/ |
H A D | MainEditor.js | 1368 let ts = new Date().getTime();
1369 while (this.errorMsg_.length > 0 && this.errorMsg_[0][0] < ts) {
1376 let a = parseInt((item[0] - ts) / CONSTANT_MIDDLE);
|
Completed in 5 milliseconds