Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(174)

Side by Side Diff: cc/latency_info.h

Issue 11293121: Add latency measurement system (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: create cc::LatencyInfo Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « cc/input_handler.h ('k') | cc/layer_tree_host.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2012 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 #ifndef CC_LATENCY_INFO_H_
6 #define CC_LATENCY_INFO_H_
7
8 #include "base/time.h"
9
10 namespace cc {
11
12 struct LatencyInfo {
13 int64 inputNumber;
14 int64 rendererMainFrameNumber;
15 int64 rendererImplFrameNumber;
16 int64 browserMainFrameNumber;
17 int64 browserImplFrameNumber;
18
19 base::TimeTicks swapTimestamp;
20
21 LatencyInfo()
22 : inputNumber(0)
23 , rendererMainFrameNumber(0)
24 , rendererImplFrameNumber(0)
25 , browserMainFrameNumber(0)
26 , browserImplFrameNumber(0)
27 {
28 }
29 };
30
31 } // namespace cc
32
33 #endif // CC_LATENCY_INFO_H_
OLDNEW
« no previous file with comments | « cc/input_handler.h ('k') | cc/layer_tree_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698