move cpuid from os/linux to sigar_util for use on other platforms

This commit is contained in:
Doug MacEachern committed 2008-04-09 06:29:08 +00:00
1 parent 277cf2e68e
commit 2b9c8971e0
5 files changed
+118 -104

No files matched your search

+4
View File
@@ -137,6 +137,10 @@ typedef struct {
sigar_iodev_t *sigar_iodev_get(sigar_t *sigar,
const char *dirname);
int sigar_cpu_core_count(sigar_t *sigar);
int sigar_cpu_core_rollup(sigar_t *sigar);
void sigar_cpu_model_adjust(sigar_t *sigar, sigar_cpu_info_t *info);
int sigar_cpu_mhz_from_model(char *model);