summaryrefslogtreecommitdiffstats
path: root/t/helper/test-online-cpus.c
blob: 8cb0d53840f3dc60d583fa1b72f95572d2148d11 (plain)
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;
}