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

Side by Side Diff: base/debug/trace_event_impl.h

Issue 12025014: Android: removes "trace_event_clock_sync" from atrace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove spurious #include Created 7 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 | Annotate | Revision Log
« no previous file with comments | « base/debug/trace_event_android.cc ('k') | base/debug/trace_event_impl.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 5
6 #ifndef BASE_DEBUG_TRACE_EVENT_IMPL_H_ 6 #ifndef BASE_DEBUG_TRACE_EVENT_IMPL_H_
7 #define BASE_DEBUG_TRACE_EVENT_IMPL_H_ 7 #define BASE_DEBUG_TRACE_EVENT_IMPL_H_
8 8
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 10
(...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after
352 void AddThreadNameMetadataEvents(); 352 void AddThreadNameMetadataEvents();
353 353
354 #if defined(OS_ANDROID) 354 #if defined(OS_ANDROID)
355 void SendToATrace(char phase, 355 void SendToATrace(char phase,
356 const char* category, 356 const char* category,
357 const char* name, 357 const char* name,
358 int num_args, 358 int num_args,
359 const char** arg_names, 359 const char** arg_names,
360 const unsigned char* arg_types, 360 const unsigned char* arg_types,
361 const unsigned long long* arg_values); 361 const unsigned long long* arg_values);
362 void AddClockSyncMetadataEvents();
363 static void ApplyATraceEnabledFlag(unsigned char* category_enabled); 362 static void ApplyATraceEnabledFlag(unsigned char* category_enabled);
364 #endif 363 #endif
365 364
366 // TODO(nduca): switch to per-thread trace buffers to reduce thread 365 // TODO(nduca): switch to per-thread trace buffers to reduce thread
367 // synchronization. 366 // synchronization.
368 // This lock protects TraceLog member accesses from arbitrary threads. 367 // This lock protects TraceLog member accesses from arbitrary threads.
369 Lock lock_; 368 Lock lock_;
370 int enable_count_; 369 int enable_count_;
371 NotificationCallback notification_callback_; 370 NotificationCallback notification_callback_;
372 std::vector<TraceEvent> logged_events_; 371 std::vector<TraceEvent> logged_events_;
(...skipping 15 matching lines...) Expand all
388 const unsigned char* watch_category_; 387 const unsigned char* watch_category_;
389 std::string watch_event_name_; 388 std::string watch_event_name_;
390 389
391 DISALLOW_COPY_AND_ASSIGN(TraceLog); 390 DISALLOW_COPY_AND_ASSIGN(TraceLog);
392 }; 391 };
393 392
394 } // namespace debug 393 } // namespace debug
395 } // namespace base 394 } // namespace base
396 395
397 #endif // BASE_DEBUG_TRACE_EVENT_IMPL_H_ 396 #endif // BASE_DEBUG_TRACE_EVENT_IMPL_H_
OLDNEW
« no previous file with comments | « base/debug/trace_event_android.cc ('k') | base/debug/trace_event_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698