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

Function counter_u64_read_one

freebsd/arm64/include/counter.h:41–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39
40#ifdef IN_SUBR_COUNTER_C
41static inline uint64_t
42counter_u64_read_one(uint64_t *p, int cpu)
43{
44
45 return (*(uint64_t *)((char *)p + UMA_PCPU_ALLOC_SIZE * cpu));
46}
47
48static inline uint64_t
49counter_u64_fetch_inline(uint64_t *p)

Callers 1

counter_u64_fetch_inlineFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected