test-online-cpus: helper to return cpu count
[git] / t / helper / test-online-cpus.c
1 #include "git-compat-util.h"
2 #include "thread-utils.h"
3
4 int cmd_main(int argc, const char **argv)
5 {
6         printf("%d\n", online_cpus());
7         return 0;
8 }