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

Side by Side Diff: cc/debug/frame_timing_cost_tracker.h

Issue 799863004: not for commit/review (thread cost tracker) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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
« no previous file with comments | « cc/cc.gyp ('k') | cc/debug/frame_timing_cost_tracker.cc » ('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 2014 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_DEBUG_FRAME_TIMING_COST_TRACKER_H_
6 #define CC_DEBUG_FRAME_TIMING_COST_TRACKER_H_
7
8 #include "cc/debug/worker_thread_cost_tracker.h"
9
10 namespace cc {
11
12 class FrameTimingCostTracker {
13 public:
14 FrameTimingCostTracker();
15 ~FrameTimingCostTracker();
16
17 void Start(int source_frame_number);
18 void Stop();
19
20 base::TimeDelta GetTotalCost();
21 void ResetCost();
22
23 WorkerThreadCostTracker* GetWorkerThreadCostTracker();
24
25 private:
26 WorkerThreadCostTracker worker_thread_cost_tracker_;
27 };
28
29 } // namespace cc
30
31 #endif // CC_DEBUG_FRAME_TIMING_COST_TRACKER_H_
OLDNEW
« no previous file with comments | « cc/cc.gyp ('k') | cc/debug/frame_timing_cost_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698