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

Side by Side Diff: cc/scheduler/begin_frame_tracker.h

Issue 1122153002: Fixit: Fork base::TimeTicks --> TimeTicks + ThreadTicks + TraceTicks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@FIXIT_timeclasses_1of2
Patch Set: REBASE after it passed CQ but did not commit to tree Created 5 years, 6 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
« no previous file with comments | « cc/debug/rendering_stats_instrumentation.cc ('k') | cc/scheduler/begin_frame_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
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CC_SCHEDULER_BEGIN_FRAME_TRACKER_H_ 5 #ifndef CC_SCHEDULER_BEGIN_FRAME_TRACKER_H_
6 #define CC_SCHEDULER_BEGIN_FRAME_TRACKER_H_ 6 #define CC_SCHEDULER_BEGIN_FRAME_TRACKER_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 10
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 80
81 private: 81 private:
82 // Return if currently not between the start/end period. This method should 82 // Return if currently not between the start/end period. This method should
83 // be used extremely sparingly and normal indicates incorrect management of 83 // be used extremely sparingly and normal indicates incorrect management of
84 // the BFA object. Can be called at any time. 84 // the BFA object. Can be called at any time.
85 bool HasFinished() const { return !current_finished_at_.is_null(); } 85 bool HasFinished() const { return !current_finished_at_.is_null(); }
86 86
87 const tracked_objects::Location location_; 87 const tracked_objects::Location location_;
88 const std::string location_string_; 88 const std::string location_string_;
89 89
90 base::TimeTicks current_updated_at_; 90 base::TraceTicks current_updated_at_;
91 BeginFrameArgs current_args_; 91 BeginFrameArgs current_args_;
92 base::TimeTicks current_finished_at_; 92 base::TraceTicks current_finished_at_;
93 }; 93 };
94 94
95 } // namespace cc 95 } // namespace cc
96 96
97 #endif // CC_SCHEDULER_BEGIN_FRAME_TRACKER_H_ 97 #endif // CC_SCHEDULER_BEGIN_FRAME_TRACKER_H_
OLDNEW
« no previous file with comments | « cc/debug/rendering_stats_instrumentation.cc ('k') | cc/scheduler/begin_frame_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698