repo.or.cz
/
git.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
t/helper: stop using `the_index`
[git.git]
/
t
/
helper
/
test-online-cpus.c
blob
47dc21171125cde0bd67877517b53a26e8a289eb
1
#include
"test-tool.h"
2
#include
"git-compat-util.h"
3
#include
"thread-utils.h"
4
5
int
cmd__online_cpus
(
int
argc UNUSED
,
const char
**
argv UNUSED
)
6
{
7
printf
(
"%d
\n
"
,
online_cpus
());
8
return
0
;
9
}