(vm_size_t) (cpu_msg_count * sizeof(*cpu_load)));
return GNUNET_OK;
}
+
+
#endif
/**
}
}
+
/**
* Get the load of the CPU relative to what is allowed.
* @return the CPU load as a percentage of allowed
return (int) agedIOLoad;
}
+
/**
* Get the percentage of memory used
*
closedir (dir);
return nproc;
}
+
+
#endif
bw = NULL;
}
+
/* end of cpustatus.c */