This is an archive of the discontinued LLVM Phabricator instance.

[scudo] Add a fast get time version.
ClosedPublic

Authored by cferris on Mar 8 2023, 6:11 PM.

Details

Summary

On Android, the _COARSE version of clock_gettime is about twice as fast.
Therefore, add a getMonotonicTimeFast function that is used in the
releaseToOSMaybe functions.

Diff Detail

Event Timeline

cferris created this revision.Mar 8 2023, 6:11 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 8 2023, 6:11 PM
cferris requested review of this revision.Mar 8 2023, 6:11 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 8 2023, 6:11 PM
Herald added a subscriber: Restricted Project. · View Herald Transcript

Chia-hung, let me know if this conflicts with any of your ready to submit changes. If it does, I'll wait for those to land before getting this in.

Chia-hungDuan accepted this revision.Mar 9 2023, 8:31 AM

No conflict at all!

This revision is now accepted and ready to land.Mar 9 2023, 8:31 AM
This revision was automatically updated to reflect the committed changes.