Skip to content

Commit 69dc045

Browse files
committed
Add comment to explain why CLOCK_MONOTONIC comes first
1 parent c116d12 commit 69dc045

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/ruby/truffleruby/core/process.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ def self.clock_gettime(id, unit=:float_second)
156156
end
157157

158158
case id
159-
when CLOCK_MONOTONIC
159+
when CLOCK_MONOTONIC # most common clock id
160160
time = Primitive.process_time_nanotime
161161
when CLOCK_REALTIME
162162
time = Primitive.process_time_instant

0 commit comments

Comments
 (0)