Pass nstime_t pointer for profiling

This commit is contained in:
Yinan Zhang 2019-12-10 17:07:41 -08:00
parent 7d2bac5a38
commit 45836d7fd3
6 changed files with 7 additions and 7 deletions

View file

@ -461,8 +461,8 @@ extent_prof_tctx_set(extent_t *extent, prof_tctx_t *tctx) {
}
static inline void
extent_prof_alloc_time_set(extent_t *extent, nstime_t t) {
nstime_copy(&extent->e_alloc_time, &t);
extent_prof_alloc_time_set(extent_t *extent, nstime_t *t) {
nstime_copy(&extent->e_alloc_time, t);
}
static inline bool