You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 21, 2024. It is now read-only.
Fix timestamp math for platforms with _POSIX_MONOTONIC_CLOCK
Hello, hello! 🎉
First the disclaimer (I guess it may be relevant): I work at @DataDog
on profiling for the [ddtrace](https://github.com/DataDog/dd-trace-rb)
gem, although we don't use `rb_profile_frames` (but it is quite
interesting).
I noticed that the fix for tmm1#122 in tmm1#163 actually missed the new
`_POSIX_MONOTONIC_CLOCK` branch, where the math was still incorrect
(used 1000 instead of 1000000 when attempting to convert seconds to
microseconds).
cc @djudd@casperisfine
0 commit comments