| #define | GLIBTOP_UPTIME_UPTIME |
| #define | GLIBTOP_UPTIME_IDLETIME |
| #define | GLIBTOP_UPTIME_BOOT_TIME |
| #define | GLIBTOP_MAX_UPTIME |
| struct | glibtop_uptime |
| #define | glibtop_get_uptime_r |
void
glibtop_get_uptime (glibtop_uptime *buf);
When porting LibGTop to a new system, you only need to implement
uptime and idletime if there's a faster or better way to obtain them
as using function(glibtop_cpu) for it. Look at
sysdeps/freebsd/uptime.c for an
example on how to obtain them using function(glibtop_cpu).