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

Side by Side Diff: base/trace_event.h

Issue 552004: Style cleanup in preparation for auto-linting base/. (Closed)
Patch Set: Created 10 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
« no previous file with comments | « base/timer_unittest.cc ('k') | base/tuple.h » ('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 (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 // Trace events to track application performance. Events consist of a name 5 // Trace events to track application performance. Events consist of a name
6 // a type (BEGIN, END or INSTANT), a tracking id and extra string data. 6 // a type (BEGIN, END or INSTANT), a tracking id and extra string data.
7 // In addition, the current process id, thread id, a timestamp down to the 7 // In addition, the current process id, thread id, a timestamp down to the
8 // microsecond and a file and line number of the calling location. 8 // microsecond and a file and line number of the calling location.
9 // 9 //
10 // The current implementation logs these events into a log file of the form 10 // The current implementation logs these events into a log file of the form
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 bool enabled_; 123 bool enabled_;
124 FILE* log_file_; 124 FILE* log_file_;
125 Lock file_lock_; 125 Lock file_lock_;
126 TimeTicks trace_start_time_; 126 TimeTicks trace_start_time_;
127 scoped_ptr<base::ProcessMetrics> process_metrics_; 127 scoped_ptr<base::ProcessMetrics> process_metrics_;
128 RepeatingTimer<TraceLog> timer_; 128 RepeatingTimer<TraceLog> timer_;
129 }; 129 };
130 130
131 } // namespace base 131 } // namespace base
132 132
133 #endif // BASE_TRACE_EVENT_H_ 133 #endif // BASE_TRACE_EVENT_H_
OLDNEW
« no previous file with comments | « base/timer_unittest.cc ('k') | base/tuple.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698