Changeset View
Changeset View
Standalone View
Standalone View
head/lib/libmemstat/memstat.c
Show First 20 Lines • Show All 320 Lines • ▼ Show 20 Lines | |||||
uint64_t | uint64_t | ||||
memstat_get_sleeps(const struct memory_type *mtp) | memstat_get_sleeps(const struct memory_type *mtp) | ||||
{ | { | ||||
return (mtp->mt_sleeps); | return (mtp->mt_sleeps); | ||||
} | } | ||||
uint64_t | |||||
memstat_get_xdomain(const struct memory_type *mtp) | |||||
{ | |||||
return (mtp->mt_xdomain); | |||||
} | |||||
void * | void * | ||||
memstat_get_caller_pointer(const struct memory_type *mtp, int index) | memstat_get_caller_pointer(const struct memory_type *mtp, int index) | ||||
{ | { | ||||
return (mtp->mt_caller_pointer[index]); | return (mtp->mt_caller_pointer[index]); | ||||
} | } | ||||
void | void | ||||
▲ Show 20 Lines • Show All 107 Lines • Show Last 20 Lines |