Header refactoring: unify and de-catchall mutex module

This commit is contained in:
David Goldblatt
2017-05-23 12:28:19 -07:00
committed by David Goldblatt
parent 9f822a1fd7
commit 18ecbfa89e
34 changed files with 304 additions and 287 deletions

View File

@@ -3,9 +3,9 @@
#include "jemalloc/internal/atomic.h"
#include "jemalloc/internal/mutex_prof.h"
#include "jemalloc/internal/mutex_types.h"
#include "jemalloc/internal/mutex_structs.h"
#include "jemalloc/internal/mutex.h"
#include "jemalloc/internal/size_classes.h"
#include "jemalloc/internal/stats_tsd.h"
/* The opt.stats_print storage. */
extern bool opt_stats_print;
@@ -26,14 +26,6 @@ typedef atomic_u64_t arena_stats_u64_t;
typedef uint64_t arena_stats_u64_t;
#endif
typedef struct tcache_bin_stats_s {
/*
* Number of allocation requests that corresponded to the size of this
* bin.
*/
uint64_t nrequests;
} tcache_bin_stats_t;
typedef struct malloc_bin_stats_s {
/*
* Total number of allocation/deallocation requests served directly by