Separate Simple Backend creation from initialization.
[chromium-blink-merge.git] / cc / debug / latency_info.h
blob1e75db8f93b8c051d24bc761baf3f39873867915
1 // Copyright 2013 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.
5 #ifndef CC_DEBUG_LATENCY_INFO_H_
6 #define CC_DEBUG_LATENCY_INFO_H_
8 #include "base/time.h"
10 namespace cc {
12 struct LatencyInfo {
13 int64 renderer_main_frame_number;
14 int64 renderer_impl_frame_number;
15 int64 browser_main_frame_number;
16 int64 browser_impl_frame_number;
18 base::TimeTicks swap_timestamp;
20 LatencyInfo() :
21 renderer_main_frame_number(0),
22 renderer_impl_frame_number(0),
23 browser_main_frame_number(0),
24 browser_impl_frame_number(0) {}
27 } // namespace cc
29 #endif // CC_DEBUG_LATENCY_INFO_H_