Skip to content

Commit 1f356a2

Browse files
committed
perf_hooks,trace_events: fix timescale on bootstrap marks
PR-URL: #19450 Reviewed-By: Anna Henningsen <anna@addaleax.net>
1 parent 7c73cd4 commit 1f356a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/node_perf.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ void performance_state::Mark(enum PerformanceMilestone milestone,
4646
TRACE_EVENT_INSTANT_WITH_TIMESTAMP0(
4747
TRACING_CATEGORY_NODE1(bootstrap),
4848
GetPerformanceMilestoneName(milestone),
49-
TRACE_EVENT_SCOPE_THREAD, ts);
49+
TRACE_EVENT_SCOPE_THREAD, ts / 1000);
5050
}
5151

5252
double GetCurrentTimeInMicroseconds() {

0 commit comments

Comments
 (0)