Merge m-c to autoland a=merge
MozReview-Commit-ID: LOGgOErcV9L
This commit is contained in:
@@ -83,7 +83,7 @@ MsSinceProcessStart(double* aResult)
|
||||
{
|
||||
bool error;
|
||||
*aResult = (TimeStamp::NowLoRes() -
|
||||
TimeStamp::ProcessCreation(error)).ToMilliseconds();
|
||||
TimeStamp::ProcessCreation(&error)).ToMilliseconds();
|
||||
if (error) {
|
||||
return NS_ERROR_NOT_AVAILABLE;
|
||||
}
|
||||
|
||||
@@ -588,8 +588,7 @@ TelemetryEvent::RecordChildEvents(GeckoProcessType aProcessType,
|
||||
// Timestamps from child processes are absolute. We fix them up here to be
|
||||
// relative to the main process start time.
|
||||
// This allows us to put events from all processes on the same timeline.
|
||||
bool inconsistent = false;
|
||||
double relativeTimestamp = (e.timestamp - TimeStamp::ProcessCreation(inconsistent)).ToMilliseconds();
|
||||
double relativeTimestamp = (e.timestamp - TimeStamp::ProcessCreation()).ToMilliseconds();
|
||||
|
||||
::RecordEvent(locker, aProcessType, relativeTimestamp, e.category, e.method, e.object, e.value, e.extra);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user