Skip to content

Commit

Permalink
Multiply seconds float to support old rubies
Browse files Browse the repository at this point in the history
  • Loading branch information
rmosolgo committed Feb 6, 2025
1 parent 9317ca4 commit 638cfe6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/graphql/tracing/perfetto_trace.rb
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ def write(file:, debug_json: false)
private

def ts
Process.clock_gettime(:CLOCK_MONOTONIC, :nanosecond)
Process.clock_gettime(:CLOCK_MONOTONIC) * 1_000_000_000
end

def tid
Expand Down

0 comments on commit 638cfe6

Please sign in to comment.