author | Noemi Erli <nerli@mozilla.com> |
Thu, 05 Apr 2018 11:55:19 +0300 | |
changeset 411899 | 9e8eeee62ffbda58d5b88d9aa25844fe8c8397e3 |
parent 411898 | f624729ae81f83a0698095e12485c7133b492e49 |
child 411900 | c989bd874ddb726eb0d2c6390441d844e11098b2 |
push id | 33774 |
push user | nerli@mozilla.com |
push date | Thu, 05 Apr 2018 15:16:07 +0000 |
treeherder | mozilla-central@110f32790d38 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
bugs | 1450959 |
milestone | 61.0a1 |
backs out | e72d2ab40d64f67d61207a31093b38e09a7c92c1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
mozglue/misc/TimeStamp.h | file | annotate | diff | comparison | revisions | |
mozglue/misc/TimeStamp_windows.h | file | annotate | diff | comparison | revisions |
--- a/mozglue/misc/TimeStamp.h +++ b/mozglue/misc/TimeStamp.h @@ -586,16 +586,17 @@ public: // two TimeStamps, or scaling TimeStamps, is nonsense and must never // be allowed. static MFBT_API void Startup(); static MFBT_API void Shutdown(); private: friend struct IPC::ParamTraits<mozilla::TimeStamp>; + friend void StartupTimelineRecordExternal(int, uint64_t); MOZ_IMPLICIT TimeStamp(TimeStampValue aValue) : mValue(aValue) {} static MFBT_API TimeStamp Now(bool aHighResolution); /** * Computes the uptime of the current process in microseconds. The result * is platform-dependent and needs to be checked against existing timestamps
--- a/mozglue/misc/TimeStamp_windows.h +++ b/mozglue/misc/TimeStamp_windows.h @@ -12,16 +12,17 @@ namespace mozilla { class TimeStamp; class TimeStampValue { friend struct IPC::ParamTraits<mozilla::TimeStampValue>; friend class TimeStamp; + friend void StartupTimelineRecordExternal(int, uint64_t); // Both QPC and GTC are kept in [mt] units. uint64_t mGTC; uint64_t mQPC; bool mHasQPC; bool mIsNull; MFBT_API TimeStampValue(uint64_t aGTC, uint64_t aQPC, bool aHasQPC);