DescriptionAdd, test, and use clock utilities.
This includes ClockMonotonicNanoseconds() and SleepNanoseconds().
SleepNanoseconds() is like base::PlatformThread::Sleep(), but
PlatformThread is not in mini_chromium and I’m not keen on adding it
because I’m not sold on the interface. I’m not convinced Sleep() belongs
there, and I don’t want to have to bring all of base::Time* along for
the ride.
TEST=util_test Clock.*:MachMessageServer.*:ServiceManagement.*
R=rsesek@chromium.org
Committed: https://chromium.googlesource.com/crashpad/crashpad/+/8decf86db833551f996760772c222ce8feafa9e4
Patch Set 1 #Patch Set 2 : Update #Patch Set 3 : (no change) #
Messages
Total messages: 4 (1 generated)
|