Searched refs:TIME_BASE (Results 1 – 12 of 12) sorted by relevance
/developtools/profiler/device/base/src/ |
D | schedule_task_manager.cpp | 29 constexpr int32_t TIME_BASE = 1000; // Time progression rate. variable 79 time.it_value.tv_sec = interval / TIME_BASE; in ScheduleTask() 80 time.it_value.tv_nsec = (interval % TIME_BASE) * TIME_BASE * TIME_BASE; in ScheduleTask() 87 time.it_interval.tv_sec = interval / TIME_BASE; in ScheduleTask() 88 time.it_interval.tv_nsec = (interval % TIME_BASE) * TIME_BASE * TIME_BASE; in ScheduleTask()
|
/developtools/profiler/device/plugins/native_daemon/native_memory_profiler_sa/src/ |
D | native_memory_profiler_sa_service.cpp | 31 constexpr int32_t TIME_BASE = 1000; variable 219 config->duration_ * TIME_BASE, in StartHook() 387 DELAYED_SHUTDOWN_TIME * TIME_BASE, in DelayedShutdown()
|
/developtools/hdc/src/host/ |
D | host_tcp.cpp | 89 uv_timer_start(&tLastCheck, (uv_timer_cb)BroadcastTimer, TIME_BASE, 0); // timeout debug 1s in BroadcastFindDaemon()
|
D | host_usb.cpp | 546 timeout = GLOBAL_TIMEOUT * TIME_BASE; in SubmitUsbBio()
|
D | server.cpp | 202 uv_sleep(TIME_BASE); in PullupServer()
|
/developtools/hdc/src/common/ |
D | define.h | 57 constexpr uint16_t TIME_BASE = 1000; // time unit conversion base value variable
|
D | base.cpp | 123 … const auto sSinceUnix0Rest = duration_cast<milliseconds>(sinceUnix0).count() % TIME_BASE; in GetLogLevelAndTime() 178 const auto sinceUnix0Rest = duration_cast<milliseconds>(sinceUnix0).count() % TIME_BASE; in GetTimeString() 640 time = times.tv_sec * TIME_BASE + times.tv_nsec / (TIME_BASE * TIME_BASE); in GetRuntimeMSec()
|
D | file_descriptor.cpp | 102 int rc = epoll_wait(epfd, events, epollSize, SECONDS_TIMEOUT * TIME_BASE); in FileIOOnThread()
|
D | session.cpp | 134 …Base::TimerUvTask(hTask->runLoop, hTask, taskClassDeleteRetry, (GLOBAL_TIMEOUT * TIME_BASE) / UV_D… in BeginRemoveTask() 1247 …&hSession->childLoop, hSession, clearTaskForSessionFinish, (GLOBAL_TIMEOUT * TIME_BASE) / UV_DEFAU… in ReChildLoopForSessionClear()
|
/developtools/profiler/device/plugins/arkts_plugin/src/ |
D | arkts_plugin.cpp | 68 constexpr uint32_t TIME_BASE = 1000; variable 154 …ScheduleTaskFd_ = scheduleTaskManager_.ScheduleTask(callback, protoConfig_.interval() * TIME_BASE); in EnableSnapshot()
|
/developtools/hdc/hdc_rust/src/cffi/host/ |
D | host_usb.cpp | 25 constexpr uint16_t TIME_BASE = 1000; variable 482 int timeout = GLOBAL_TIMEOUT * TIME_BASE; in OpenDeviceMyNeed()
|
/developtools/hdc/src/daemon/ |
D | daemon_usb.cpp | 124 uv_timer_start(&checkEP, WatchEPTimer, 0, TIME_BASE); in Initial()
|