removing uptime.idletime (only linux had this)

This commit is contained in:
Doug MacEachern committed 2004-07-21 21:56:55 +00:00
1 parent c0ce6a2c7e
commit dc4168178d
8 files changed
-13

No files matched your search

-2
View File
@@ -358,8 +358,6 @@ int sigar_cpu_list_get(sigar_t *sigar, sigar_cpu_list_t *cpulist)
int sigar_uptime_get(sigar_t *sigar,
sigar_uptime_t *uptime)
{
uptime->idletime = 0; /*XXX*/
if (sigar->boot_time) {
uptime->uptime = time(NULL) - sigar->boot_time;
}