MCPcopy 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
69static inline int
70beri_get_cpu(void)
71{
72
73 return ((beri_get_core() * beri_get_nthreads()) + beri_get_thread());
74}
75
76static inline int
77beri_get_ncpus(void)

Callers 1

platform_processor_idFunction · 0.85

Calls 3

beri_get_coreFunction · 0.85
beri_get_nthreadsFunction · 0.85
beri_get_threadFunction · 0.85

Tested by

no test coverage detected