mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 14:52:16 +00:00
Bug 1349607 - Remove mVsyncTimestamp from the VsyncMarkerPayload r=mstange
Removing this field since we already have start/end time for each marker payloads. Also we are assigning the same timestamp to them. We don't need to unnecessarily duplicate the information here. Differential Revision: https://phabricator.services.mozilla.com/D8551 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
c51f546bd5
commit
b307cbb99b
@ -135,8 +135,6 @@ VsyncMarkerPayload::StreamPayload(SpliceableJSONWriter& aWriter,
|
||||
UniqueStacks& aUniqueStacks)
|
||||
{
|
||||
StreamType("VsyncTimestamp", aWriter);
|
||||
aWriter.DoubleProperty("vsync",
|
||||
(mVsyncTimestamp - aProcessStartTime).ToMilliseconds());
|
||||
}
|
||||
|
||||
static const char *GetNetworkState(NetworkLoadType aType)
|
||||
|
@ -200,13 +200,9 @@ class VsyncMarkerPayload : public ProfilerMarkerPayload
|
||||
public:
|
||||
explicit VsyncMarkerPayload(mozilla::TimeStamp aVsyncTimestamp)
|
||||
: ProfilerMarkerPayload(aVsyncTimestamp, aVsyncTimestamp)
|
||||
, mVsyncTimestamp(aVsyncTimestamp)
|
||||
{}
|
||||
|
||||
DECL_STREAM_PAYLOAD
|
||||
|
||||
private:
|
||||
mozilla::TimeStamp mVsyncTimestamp;
|
||||
};
|
||||
|
||||
class NetworkMarkerPayload : public ProfilerMarkerPayload
|
||||
|
Loading…
Reference in New Issue
Block a user