git/t/helper/test-online-cpus.c
Nguyễn Thái Ngọc Duy c033cc1508 t/helper: merge test-online-cpus into test-tool
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2018-03-27 08:45:47 -07:00

9 lines
176 B
C

#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;
}