2018-03-24 15:44:48 +08:00
|
|
|
#include "test-tool.h"
|
2017-04-03 23:16:41 +08:00
|
|
|
#include "git-compat-util.h"
|
|
|
|
#include "thread-utils.h"
|
|
|
|
|
2018-03-24 15:44:48 +08:00
|
|
|
int cmd__online_cpus(int argc, const char **argv)
|
2017-04-03 23:16:41 +08:00
|
|
|
{
|
|
|
|
printf("%d\n", online_cpus());
|
|
|
|
return 0;
|
|
|
|
}
|