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

Side by Side Diff: base/trace_event/trace_log.h

Issue 1221873002: Change sampler code events phase from instant to meta. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix a comment Created 4 years, 10 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/trace_event/trace_event_unittest.cc ('k') | base/trace_event/trace_log.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 BASE_TRACE_EVENT_TRACE_LOG_H_ 5 #ifndef BASE_TRACE_EVENT_TRACE_LOG_H_
6 #define BASE_TRACE_EVENT_TRACE_LOG_H_ 6 #define BASE_TRACE_EVENT_TRACE_LOG_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 const TimeTicks& timestamp, 244 const TimeTicks& timestamp,
245 int num_args, 245 int num_args,
246 const char** arg_names, 246 const char** arg_names,
247 const unsigned char* arg_types, 247 const unsigned char* arg_types,
248 const unsigned long long* arg_values, 248 const unsigned long long* arg_values,
249 const scoped_refptr<ConvertableToTraceFormat>* convertable_values, 249 const scoped_refptr<ConvertableToTraceFormat>* convertable_values,
250 unsigned int flags); 250 unsigned int flags);
251 251
252 // Adds a metadata event that will be written when the trace log is flushed. 252 // Adds a metadata event that will be written when the trace log is flushed.
253 void AddMetadataEvent( 253 void AddMetadataEvent(
254 const unsigned char* category_group_enabled,
254 const char* name, 255 const char* name,
255 int num_args, 256 int num_args,
256 const char** arg_names, 257 const char** arg_names,
257 const unsigned char* arg_types, 258 const unsigned char* arg_types,
258 const unsigned long long* arg_values, 259 const unsigned long long* arg_values,
259 const scoped_refptr<ConvertableToTraceFormat>* convertable_values, 260 const scoped_refptr<ConvertableToTraceFormat>* convertable_values,
260 unsigned int flags); 261 unsigned int flags);
261 262
262 void UpdateTraceEventDuration(const unsigned char* category_group_enabled, 263 void UpdateTraceEventDuration(const unsigned char* category_group_enabled,
263 const char* name, 264 const char* name,
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
496 subtle::AtomicWord generation_; 497 subtle::AtomicWord generation_;
497 bool use_worker_thread_; 498 bool use_worker_thread_;
498 499
499 DISALLOW_COPY_AND_ASSIGN(TraceLog); 500 DISALLOW_COPY_AND_ASSIGN(TraceLog);
500 }; 501 };
501 502
502 } // namespace trace_event 503 } // namespace trace_event
503 } // namespace base 504 } // namespace base
504 505
505 #endif // BASE_TRACE_EVENT_TRACE_LOG_H_ 506 #endif // BASE_TRACE_EVENT_TRACE_LOG_H_
OLDNEW
« no previous file with comments | « base/trace_event/trace_event_unittest.cc ('k') | base/trace_event/trace_log.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698