Home
last modified time | relevance | path

Searched refs:ts (Results 1 – 9 of 9) sorted by relevance

/drivers/hdf_core/framework/support/posix/src/
Dosal_time.c21 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()
68 struct timespec ts; in OsalMSleep() local
70 ts.tv_sec = (time_t)ms / HDF_KILO_UNIT; in OsalMSleep()
71 ts.tv_nsec = (time_t)HDF_KILO_UNIT * HDF_KILO_UNIT * ((long)(ms % HDF_KILO_UNIT)); in OsalMSleep()
72 result = nanosleep(&ts, &ts); in OsalMSleep()
81 struct timespec ts; in OsalUSleep() local
[all …]
/drivers/hdf_core/adapter/khdf/linux/osal/src/
Dosal_time.c36 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/usb/test/moduletest/common/scripts/
Dusb_host_loopback.sh33 ts=$(echo $line | grep 'XTSCHECK' | cut -F 2 | cut -d ',' -f 1)
34 if [ $(echo "$ts > $max_ts" | bc) -eq 1 ];then
35 max_ts=$ts
/drivers/peripheral/display/hal/default_standard/src/display_device/vsync/
Dsorft_vsync.cpp82 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/
Dcodec_node.cpp309 struct timespec ts = {}; in Yuv422ToYuv420() local
311 clock_gettime(CLOCK_MONOTONIC, &ts); in Yuv422ToYuv420()
312 timestamp = ts.tv_nsec + ts.tv_sec * TIME_CONVERSION_NS_S; in Yuv422ToYuv420()
/drivers/hdf_core/framework/tools/hcs-view/hcsVSCode/
Dvsc-extension-quickstart.md26 …ou can open the full set of our API when you open the file `node_modules/@types/vscode/index.d.ts`.
34 * The provided test runner will only consider files matching the name pattern `**.test.ts`.
/drivers/hdf_core/interfaces/inner_api/hdi/base/
Dhdi_smq.h241 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/external_device_manager/
DREADME_zh.md33 ├── interfaces # 对外提供.d.ts接口定义和capi实现
/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/
DMainEditor.js1078 let ts = new Date().getTime();
1079 while (this.errorMsg_.length > 0 && this.errorMsg_[0][0] < ts) {
1084 let a = parseInt((this.errorMsg_[i][0] - ts) / 2);