DescriptionMake cygprofile use clock_gettime() instead of gettimeofday().
Some of the generated orderfiles looked suspicious. I could observe that one of
them had the renderer PID show up before the browser one.
The mergetraces.py file was also occasionally complaining about unsorted
timestamps.
There are not many situations where gettimeofday() should be used instead of
clock_gettime(). The former is not monotonic in particular.
The original code also had the issue that it was using both gettimeofday() and
time().
This also replaces the occurrences of 'ms(ec)' with 'us(ec)' to make it clear
that microseconds are used as opposed to milliseconds.
BUG=372323
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=270090
Patch Set 1 : #
Total comments: 2
Patch Set 2 : Address Egor's comment #
Messages
Total messages: 11 (0 generated)
|