Home
last modified time | relevance | path

Searched refs:systimer (Results 1 - 3 of 3) sorted by relevance

/commonlibrary/ets_utils/platform/default/
H A Dprocess_helper.cpp42 time_t systimer = 0; in GetSysTimer() local
47 systimer = information.uptime; in GetSysTimer()
48 return static_cast<double>(systimer); in GetSysTimer()
/commonlibrary/ets_utils/platform/ios/
H A Dprocess_helper.cpp457 double systimer = -1; in GetSysTimer() local
461 systimer = now.tv_sec - boottime.tv_sec; in GetSysTimer()
462 systimer += (double)(now.tv_usec - boottime.tv_usec) / MICROSECONDS_OF_SECOND; in GetSysTimer()
464 return systimer; in GetSysTimer()
/commonlibrary/ets_utils/js_sys_module/process/
H A Djs_process.cpp183 auto systimer = GetSysTimer(); in Uptime() local
184 if (systimer > 0) { in Uptime()
185 runsystime = static_cast<double>(systimer); in Uptime()
188 napi_throw_error(env, "-1", "Failed to get systimer"); in Uptime()

Completed in 4 milliseconds