mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-04-29 14:22:14 +03:00
Fix duration in prof log
This commit is contained in:
parent
a943172b73
commit
f6699803e2
1 changed files with 1 additions and 1 deletions
|
|
@ -573,7 +573,7 @@ prof_log_emit_metadata(emitter_t *emitter) {
|
|||
|
||||
nstime_t now;
|
||||
|
||||
nstime_init_update(&now);
|
||||
nstime_prof_init_update(&now);
|
||||
uint64_t ns = nstime_ns(&now) - nstime_ns(&log_start_timestamp);
|
||||
emitter_json_kv(emitter, "duration", emitter_type_uint64, &ns);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue