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

Side by Side Diff: gpu/common/gpu_trace_event.h

Issue 6985009: iwyu: Use callback_old.h where appropriate, part 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 7 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 | « gpu/command_buffer/service/gles2_cmd_decoder.h ('k') | media/base/callback.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 are for tracking application performance. 5 // Trace events are for tracking application performance.
6 // 6 //
7 // Events are issued against categories. Whereas LOG's 7 // Events are issued against categories. Whereas LOG's
8 // categories are statically defined, TRACE categories are created 8 // categories are statically defined, TRACE categories are created
9 // implicitly with a string. For example: 9 // implicitly with a string. For example:
10 // GPU_TRACE_EVENT_INSTANT0("MY_SUBSYSTEM", "SomeImportantEvent") 10 // GPU_TRACE_EVENT_INSTANT0("MY_SUBSYSTEM", "SomeImportantEvent")
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 #define GPU_TRACE_END0(x0, x1) { } 58 #define GPU_TRACE_END0(x0, x1) { }
59 #define GPU_TRACE_END1(x0, x1, x2, x3) { } 59 #define GPU_TRACE_END1(x0, x1, x2, x3) { }
60 #define GPU_TRACE_END2(x0, x1, x2, x3, x4, x5) { } 60 #define GPU_TRACE_END2(x0, x1, x2, x3, x4, x5) { }
61 61
62 #else 62 #else
63 63
64 #include "build/build_config.h" 64 #include "build/build_config.h"
65 65
66 #include <string> 66 #include <string>
67 67
68 #include "base/callback_old.h"
68 #include "base/memory/scoped_ptr.h" 69 #include "base/memory/scoped_ptr.h"
69 #include "base/atomicops.h" 70 #include "base/atomicops.h"
70 #include "base/memory/scoped_vector.h" 71 #include "base/memory/scoped_vector.h"
71 #include "base/memory/singleton.h" 72 #include "base/memory/singleton.h"
72 #include "base/time.h" 73 #include "base/time.h"
73 #include "base/timer.h" 74 #include "base/timer.h"
74 #include "base/callback.h" 75 #include "base/callback.h"
75 #include "base/string_util.h" 76 #include "base/string_util.h"
76 #include <vector> 77 #include <vector>
77 78
(...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after
430 int line_; 431 int line_;
431 TraceCategory* category_; 432 TraceCategory* category_;
432 const char* name_; 433 const char* name_;
433 }; 434 };
434 435
435 } // namespace internal 436 } // namespace internal
436 437
437 } // namespace gpu 438 } // namespace gpu
438 #endif // __native_client__ 439 #endif // __native_client__
439 #endif // GPU_TRACE_EVENT_H_ 440 #endif // GPU_TRACE_EVENT_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_decoder.h ('k') | media/base/callback.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698