MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / ctl_background_thread_stats_read

Function ctl_background_thread_stats_read

deps/jemalloc/src/ctl.c:1033–1041  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1031}
1032
1033static void
1034ctl_background_thread_stats_read(tsdn_t *tsdn) {
1035 background_thread_stats_t *stats = &ctl_stats->background_thread;
1036 if (!have_background_thread ||
1037 background_thread_stats_read(tsdn, stats)) {
1038 memset(stats, 0, sizeof(background_thread_stats_t));
1039 nstime_init(&stats->run_interval, 0);
1040 }
1041}
1042
1043static void
1044ctl_refresh(tsdn_t *tsdn) {

Callers 1

ctl_refreshFunction · 0.70

Calls 2

nstime_initFunction · 0.70

Tested by

no test coverage detected