diff --git a/cputree.c b/cputree.c index 791b0bc..c195ec9 100644 --- a/cputree.c +++ b/cputree.c @@ -321,7 +321,7 @@ static void do_one_cpu(char *path) cpu->number = strtoul(&path[27], NULL, 10); - cpu->max_load = SLEEP_INTERVAL * 1000 * 1000; // SLEEP_INTERVAL in nanoseconds, should be a good enough approximation + cpu->max_load = SLEEP_INTERVAL * 1000 * 1000 * 1000; // SLEEP_INTERVAL in nanoseconds, should be a good enough approximation cpu_set(cpu->number, cpu_online_map);