OLD | NEW |
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 419 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
430 int line_; | 430 int line_; |
431 TraceCategory* category_; | 431 TraceCategory* category_; |
432 const char* name_; | 432 const char* name_; |
433 }; | 433 }; |
434 | 434 |
435 } // namespace internal | 435 } // namespace internal |
436 | 436 |
437 } // namespace gpu | 437 } // namespace gpu |
438 #endif // __native_client__ | 438 #endif // __native_client__ |
439 #endif // GPU_TRACE_EVENT_H_ | 439 #endif // GPU_TRACE_EVENT_H_ |
OLD | NEW |