MCPcopy Create free account
hub / github.com/F-Stack/f-stack / beri_get_nthreads

Function beri_get_nthreads

freebsd/mips/beri/beri_mp.h:60–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58}
59
60static inline int
61beri_get_nthreads(void)
62{
63 uint32_t tinfo;
64
65 tinfo = mips_rd_tinfo();
66 return ((tinfo >> 16) + 1);
67}
68
69static inline int
70beri_get_cpu(void)

Callers 3

platform_cpu_maskFunction · 0.85
beri_get_cpuFunction · 0.85
beri_get_ncpusFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected