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:
Nazım Can Altınova 2018-11-01 13:56:18 +00:00
parent c51f546bd5
commit b307cbb99b
2 changed files with 0 additions and 6 deletions

View File

@ -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)

View File

@ -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