Chagne prof_accum_t to counter_accum_t for general purpose.

This commit is contained in:
Qi Wang
2020-01-23 13:18:04 -08:00
committed by Qi Wang
parent ea351a7b52
commit d71a145ec1
14 changed files with 125 additions and 84 deletions
-9
View File
@@ -21,15 +21,6 @@ typedef struct {
} prof_unwind_data_t;
#endif
struct prof_accum_s {
#ifndef JEMALLOC_ATOMIC_U64
malloc_mutex_t mtx;
uint64_t accumbytes;
#else
atomic_u64_t accumbytes;
#endif
};
struct prof_cnt_s {
/* Profiling counters. */
uint64_t curobjs;