DescriptionUse real time instead of event time to compute trace event overhead
Use real time instead of event time to compute overhead, because
event timestamp may be not the real time that we started to add the event
(e.g. event with zero timestamp or that was generated some time ago).
With this CL the overhead excludes the time between the beginning of
the TRACE_EVENT macro and AddTraceEventWithThreadIdAndTimestamp() which
should be trivial.
BUG=457441
Committed: https://crrev.com/75fa92e381158626c5ffb00bcb2423a868ba81e7
Cr-Commit-Position: refs/heads/master@{#316251}
Patch Set 1 #
Total comments: 2
Messages
Total messages: 11 (2 generated)
|