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

Side by Side Diff: Source/platform/TraceEvent.h

Issue 1041103002: PartitionAlloc: Centralize Partition allocators into one place (Part 1) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 8 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 | « Source/platform/Partitions.cpp ('k') | Source/platform/blink_platform.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 // 158 //
159 // Without the use of these static category pointers and enabled flags all 159 // Without the use of these static category pointers and enabled flags all
160 // trace points would carry a significant performance cost of aquiring a lock 160 // trace points would carry a significant performance cost of aquiring a lock
161 // and resolving the category. 161 // and resolving the category.
162 162
163 #ifndef TraceEvent_h 163 #ifndef TraceEvent_h
164 #define TraceEvent_h 164 #define TraceEvent_h
165 165
166 #include "platform/EventTracer.h" 166 #include "platform/EventTracer.h"
167 167
168 #include "wtf/CurrentTime.h"
168 #include "wtf/DynamicAnnotations.h" 169 #include "wtf/DynamicAnnotations.h"
169 #include "wtf/PassRefPtr.h" 170 #include "wtf/PassRefPtr.h"
170 #include "wtf/text/CString.h" 171 #include "wtf/text/CString.h"
171 172
172 // By default, const char* argument values are assumed to have long-lived scope 173 // By default, const char* argument values are assumed to have long-lived scope
173 // and will not be copied. Use this macro to force a const char* to be copied. 174 // and will not be copied. Use this macro to force a const char* to be copied.
174 #define TRACE_STR_COPY(str) \ 175 #define TRACE_STR_COPY(str) \
175 blink::TraceEvent::TraceStringWithCopy(str) 176 blink::TraceEvent::TraceStringWithCopy(str)
176 177
177 // By default, uint64 ID argument values are not mangled with the Process ID in 178 // By default, uint64 ID argument values are not mangled with the Process ID in
(...skipping 1102 matching lines...) Expand 10 before | Expand all | Expand 10 after
1280 const char* m_categoryGroup; 1281 const char* m_categoryGroup;
1281 const char* m_name; 1282 const char* m_name;
1282 IDType m_id; 1283 IDType m_id;
1283 }; 1284 };
1284 1285
1285 } // namespace TraceEvent 1286 } // namespace TraceEvent
1286 1287
1287 } // namespace blink 1288 } // namespace blink
1288 1289
1289 #endif 1290 #endif
OLDNEW
« no previous file with comments | « Source/platform/Partitions.cpp ('k') | Source/platform/blink_platform.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698