Skip to content

Commit

Permalink
perf_hooks,trace_events: fix timescale on bootstrap marks
Browse files Browse the repository at this point in the history
PR-URL: #19450
Reviewed-By: Anna Henningsen <anna@addaleax.net>
  • Loading branch information
jasnell committed Mar 20, 2018
1 parent 7c73cd4 commit 1f356a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node_perf.cc
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ void performance_state::Mark(enum PerformanceMilestone milestone,
TRACE_EVENT_INSTANT_WITH_TIMESTAMP0(
TRACING_CATEGORY_NODE1(bootstrap),
GetPerformanceMilestoneName(milestone),
TRACE_EVENT_SCOPE_THREAD, ts);
TRACE_EVENT_SCOPE_THREAD, ts / 1000);
}

double GetCurrentTimeInMicroseconds() {
Expand Down

0 comments on commit 1f356a2

Please sign in to comment.