OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #include "base/macros.h" | |
6 #include "base/trace_event/trace_event.h" | |
7 #include "base/trace_event/vfc_persistent_async_event.h" | |
8 | |
9 namespace base { | |
10 namespace trace_event { | |
11 | |
12 VFCPersistentAsyncEvent::VFCPersistentAsyncEvent() {} | |
13 | |
14 VFCPersistentAsyncEvent::~VFCPersistentAsyncEvent() {} | |
15 | |
16 void VFCPersistentAsyncEvent::RecordStartEvent() { | |
17 TRACE_EVENT1("media", "VideoFrameCompositor::Start", "video_id", param_v alue_); | |
18 } | |
19 | |
20 void VFCPersistentAsyncEvent::RecordStopEvent() { | |
21 TRACE_EVENT1("media", "VideoFrameCompositor::Stop", "video_id", param_va lue_); | |
22 } | |
23 | |
24 void VFCPersistentAsyncEvent::RecordStartEventWithOffset(double offset) { | |
charliea (OOO until 10-5)
2016/07/19 20:27:18
Unless we need something like this immediately, I'
| |
25 TRACE_EVENT2("media", "VideoFrameCompositor::Start", "video_id", param_v alue_, "offset", offset); | |
26 } | |
27 | |
28 } | |
29 } | |
OLD | NEW |