1 2 3 4 5 6 7 8 9
#include "test-tool.h" #include "git-compat-util.h" #include "thread-utils.h" int cmd__online_cpus(int argc, const char **argv) { printf("%d\n", online_cpus()); return 0; }