Home
last modified time | relevance | path

Searched refs:TIME_BASE (Results 1 – 12 of 12) sorted by relevance

/developtools/profiler/device/base/src/
Dschedule_task_manager.cpp29 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/
Dnative_memory_profiler_sa_service.cpp31 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/
Dhost_tcp.cpp89 uv_timer_start(&tLastCheck, (uv_timer_cb)BroadcastTimer, TIME_BASE, 0); // timeout debug 1s in BroadcastFindDaemon()
Dhost_usb.cpp546 timeout = GLOBAL_TIMEOUT * TIME_BASE; in SubmitUsbBio()
Dserver.cpp202 uv_sleep(TIME_BASE); in PullupServer()
/developtools/hdc/src/common/
Ddefine.h57 constexpr uint16_t TIME_BASE = 1000; // time unit conversion base value variable
Dbase.cpp123 … 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()
Dfile_descriptor.cpp102 int rc = epoll_wait(epfd, events, epollSize, SECONDS_TIMEOUT * TIME_BASE); in FileIOOnThread()
Dsession.cpp134 …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/
Darkts_plugin.cpp68 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/
Dhost_usb.cpp25 constexpr uint16_t TIME_BASE = 1000; variable
482 int timeout = GLOBAL_TIMEOUT * TIME_BASE; in OpenDeviceMyNeed()
/developtools/hdc/src/daemon/
Ddaemon_usb.cpp124 uv_timer_start(&checkEP, WatchEPTimer, 0, TIME_BASE); in Initial()