Home
last modified time | relevance | path

Searched refs:base_uptime (Results 1 – 6 of 6) sorted by relevance

/dports/sysutils/gkrellm2/gkrellm-2.3.11/src/sysdeps/
H A Dbsd-common.c456 time_t base_uptime, now; in gkrellm_sys_uptime_init() local
458 base_uptime = (time_t) 0; in gkrellm_sys_uptime_init()
463 base_uptime = now - boottime.tv_sec; in gkrellm_sys_uptime_init()
464 base_uptime += 30; in gkrellm_sys_uptime_init()
466 gkrellm_uptime_set_base_uptime(base_uptime); in gkrellm_sys_uptime_init()
468 return (base_uptime == (time_t) 0) ? FALSE : TRUE; in gkrellm_sys_uptime_init()
H A Dsolaris.c1027 time_t boot, now, base_uptime; in gkrellm_sys_uptime_init() local
1051 base_uptime = now - boot; in gkrellm_sys_uptime_init()
1052 base_uptime += 30; in gkrellm_sys_uptime_init()
1053 gkrellm_uptime_set_base_uptime(base_uptime); in gkrellm_sys_uptime_init()
1055 return (base_uptime == (time_t) 0) ? FALSE : TRUE; in gkrellm_sys_uptime_init()
/dports/sysutils/gkrellm2/gkrellm-2.3.11/src/
H A Duptime.c44 static time_t base_uptime, variable
74 base_uptime = base; in gkrellm_uptime_set_base_uptime()
153 up_minutes = (gint)(time(0) - _GK.start_time + base_uptime) / 60; in update_uptime()
H A Dgkrellm-sysdeps.h291 void gkrellm_uptime_set_base_uptime(time_t base_uptime);
H A Dgkrellm-private.h100 gint base_uptime;
/dports/sysutils/gkrellm2/gkrellm-2.3.11/server/
H A Dmonitor.c2019 static time_t base_uptime,
2026 base_uptime = base;
2041 up_minutes = (glong)(time(0) - _GK.start_time + base_uptime) / 60;