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

Function mutex_prof_data_init

app/redis-6.2.6/deps/jemalloc/src/mutex.c:103–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101}
102
103static void
104mutex_prof_data_init(mutex_prof_data_t *data) {
105 memset(data, 0, sizeof(mutex_prof_data_t));
106 nstime_init(&data->max_wait_time, 0);
107 nstime_init(&data->tot_wait_time, 0);
108 data->prev_owner = NULL;
109}
110
111void
112malloc_mutex_prof_data_reset(tsdn_t *tsdn, malloc_mutex_t *mutex) {

Callers 2

malloc_mutex_initFunction · 0.85

Calls 2

memsetFunction · 0.85
nstime_initFunction · 0.85

Tested by

no test coverage detected