Searched refs:uptime (Results 1 – 18 of 18) sorted by relevance
28 int uv_uptime(double* uptime) { in uv_uptime() argument34 *uptime = info.uptime; in uv_uptime()
110 int uv_uptime(double* uptime) { in uv_uptime() argument115 if (1 == sscanf(buf, "%lf", uptime)) in uv_uptime()
115 int uv_uptime(double* uptime) { in uv_uptime() argument117 *uptime = (qtime->nsec / 1000000000.0); in uv_uptime()
111 int uv_uptime(double* uptime) { in uv_uptime() argument113 *uptime = (double)system_time() / 1000000; in uv_uptime()
167 int uv_uptime(double* uptime) { in uv_uptime() argument177 *uptime = now - info.tv_sec; in uv_uptime()
170 int uv_uptime(double* uptime) { in uv_uptime() argument177 *uptime = sp.tv_sec; in uv_uptime()
168 int uv_uptime(double* uptime) { in uv_uptime() argument179 *uptime = (double)(now - info.tv_sec); in uv_uptime()
169 int uv_uptime(double* uptime) { in uv_uptime() argument180 *uptime = (double)(now - info.tv_sec); in uv_uptime()
645 int uv_uptime(double* uptime) { in uv_uptime() argument658 *uptime = -1; in uv_uptime()661 *uptime = knp->value.ul / hz; in uv_uptime()
282 int uv_uptime(double* uptime) { in uv_uptime() argument
219 int uv_uptime(double* uptime) { in uv_uptime() argument228 *uptime = difftime64(time64(&t), v->ut_tv.tv_sec); in uv_uptime()
1033 int uv_uptime(double* uptime) { in uv_uptime() argument1055 *uptime = time(NULL) - boot_time; in uv_uptime()
1693 int uv_uptime(double* uptime) { in uv_uptime() argument1702 if (1 == sscanf(buf, "%lf", uptime)) in uv_uptime()1708 *uptime = now.tv_sec; in uv_uptime()
31 double uptime; in TEST_IMPL() local63 err = uv_uptime(&uptime); in TEST_IMPL()68 ASSERT_GT(uptime, 0); in TEST_IMPL()69 printf("uv_uptime: %f\n", uptime); in TEST_IMPL()
502 int uv_uptime(double* uptime) { in uv_uptime() argument503 *uptime = GetTickCount64() / 1000.0; in uv_uptime()
351 .. c:function:: int uv_uptime(double* uptime)353 Gets the current system uptime. Depending on the system full or fractional seconds are returned.
1268 UV_EXTERN int uv_uptime(double* uptime);
993 * win: use GetTickCount64 for uptime again (Jameson Nash)4106 * freebsd: obtain true uptime through clock_gettime() (Jianghua Yang)
Completed in 84 milliseconds