Code & Deploy
Code
Models
Repos
Sign in
@matheusbsbs
/
matheus-bagliano
matheus-bagliano
/
t
/
helper
/
test-online-cpus.c
Code
Commits
Pulls
CI/CD
81,348
maint
bisect
jch
maint
master
next
seen
test
todo
c
9 lines
190 Bytes
Copy permalink
Copy
Raw
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
}