Make prof_tctx_t pointer a true prof atomic fence

This commit is contained in:
Yinan Zhang 2020-03-26 18:17:20 -07:00
parent d936b46d3a
commit a166c20818

View File

@ -360,9 +360,9 @@ large_prof_tctx_reset(edata_t *edata) {
void void
large_prof_info_set(edata_t *edata, prof_tctx_t *tctx) { large_prof_info_set(edata_t *edata, prof_tctx_t *tctx) {
large_prof_tctx_set(edata, tctx);
nstime_t t; nstime_t t;
nstime_init_update(&t); nstime_init_update(&t);
edata_prof_alloc_time_set(edata, &t); edata_prof_alloc_time_set(edata, &t);
edata_prof_recent_alloc_init(edata); edata_prof_recent_alloc_init(edata);
large_prof_tctx_set(edata, tctx);
} }