Home
last modified time | relevance | path

Searched refs:uptime (Results 1 – 18 of 18) sorted by relevance

/libuv/src/unix/
H A Dcygwin.c28 int uv_uptime(double* uptime) { in uv_uptime() argument
34 *uptime = info.uptime; in uv_uptime()
H A Dhurd.c110 int uv_uptime(double* uptime) { in uv_uptime() argument
115 if (1 == sscanf(buf, "%lf", uptime)) in uv_uptime()
H A Dqnx.c115 int uv_uptime(double* uptime) { in uv_uptime() argument
117 *uptime = (qtime->nsec / 1000000000.0); in uv_uptime()
H A Dhaiku.c111 int uv_uptime(double* uptime) { in uv_uptime() argument
113 *uptime = (double)system_time() / 1000000; in uv_uptime()
H A Ddarwin.c167 int uv_uptime(double* uptime) { in uv_uptime() argument
177 *uptime = now - info.tv_sec; in uv_uptime()
H A Dfreebsd.c170 int uv_uptime(double* uptime) { in uv_uptime() argument
177 *uptime = sp.tv_sec; in uv_uptime()
H A Dopenbsd.c168 int uv_uptime(double* uptime) { in uv_uptime() argument
179 *uptime = (double)(now - info.tv_sec); in uv_uptime()
H A Dnetbsd.c169 int uv_uptime(double* uptime) { in uv_uptime() argument
180 *uptime = (double)(now - info.tv_sec); in uv_uptime()
H A Dsunos.c645 int uv_uptime(double* uptime) { in uv_uptime() argument
658 *uptime = -1; in uv_uptime()
661 *uptime = knp->value.ul / hz; in uv_uptime()
H A Dibmi.c282 int uv_uptime(double* uptime) { in uv_uptime() argument
H A Dos390.c219 int uv_uptime(double* uptime) { in uv_uptime() argument
228 *uptime = difftime64(time64(&t), v->ut_tv.tv_sec); in uv_uptime()
H A Daix.c1033 int uv_uptime(double* uptime) { in uv_uptime() argument
1055 *uptime = time(NULL) - boot_time; in uv_uptime()
H A Dlinux.c1693 int uv_uptime(double* uptime) { in uv_uptime() argument
1702 if (1 == sscanf(buf, "%lf", uptime)) in uv_uptime()
1708 *uptime = now.tv_sec; in uv_uptime()
/libuv/test/
H A Dtest-platform-output.c31 double uptime; in TEST_IMPL() local
63 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()
/libuv/src/win/
H A Dutil.c502 int uv_uptime(double* uptime) { in uv_uptime() argument
503 *uptime = GetTickCount64() / 1000.0; in uv_uptime()
/libuv/docs/src/
H A Dmisc.rst351 .. c:function:: int uv_uptime(double* uptime)
353 Gets the current system uptime. Depending on the system full or fractional seconds are returned.
/libuv/include/
H A Duv.h1268 UV_EXTERN int uv_uptime(double* uptime);
/libuv/
H A DChangeLog993 * win: use GetTickCount64 for uptime again (Jameson Nash)
4106 * freebsd: obtain true uptime through clock_gettime() (Jianghua Yang)

Completed in 61 milliseconds