summaryrefslogtreecommitdiffstats
path: root/t/helper/test-online-cpus.c
blob: 47dc21171125cde0bd67877517b53a26e8a289eb (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 UNUSED, const char **argv UNUSED)
{
	printf("%d\n", online_cpus());
	return 0;
}