High Resolution Timestamps for Profiling

This commit is contained in:
Jon Haslam 2020-06-02 06:42:44 -07:00 committed by David Goldblatt
parent d82a164d0d
commit 4aea743279
13 changed files with 123 additions and 39 deletions

View file

@ -305,7 +305,7 @@ large_prof_tctx_reset(edata_t *edata) {
void
large_prof_info_set(edata_t *edata, prof_tctx_t *tctx) {
nstime_t t;
nstime_init_update(&t);
nstime_prof_init_update(&t);
edata_prof_alloc_time_set(edata, &t);
edata_prof_recent_alloc_init(edata);
large_prof_tctx_set(edata, tctx);