Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/F-Stack/f-stack
/ beri_get_cpu
Function
beri_get_cpu
freebsd/mips/beri/beri_mp.h:69–74 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
67
}
68
69
static inline int
70
beri_get_cpu(void)
71
{
72
73
return ((beri_get_core() * beri_get_nthreads()) + beri_get_thread());
74
}
75
76
static inline int
77
beri_get_ncpus(void)
Callers
1
platform_processor_id
Function · 0.85
Calls
3
beri_get_core
Function · 0.85
beri_get_nthreads
Function · 0.85
beri_get_thread
Function · 0.85
Tested by
no test coverage detected