Initialize prof idump counter once rather than once per arena

This commit is contained in:
Yinan Zhang
2020-04-15 12:21:38 -07:00
parent e10e5059e8
commit 8be5584494
3 changed files with 6 additions and 9 deletions

View File

@@ -74,7 +74,6 @@ void prof_cnt_all(uint64_t *curobjs, uint64_t *curbytes, uint64_t *accumobjs,
#endif
int prof_getpid(void);
void prof_get_default_filename(tsdn_t *tsdn, char *filename, uint64_t ind);
bool prof_accum_init(void);
bool prof_idump_accum(tsdn_t *tsdn, uint64_t accumbytes);
void prof_idump(tsdn_t *tsdn);
bool prof_mdump(tsd_t *tsd, const char *filename);