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

Side by Side Diff: src/tracing/trace-event.h

Issue 2360083005: Re-enable TestEventInContext (Closed)
Patch Set: Created 4 years, 2 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 | « no previous file | test/cctest/test-trace-event.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 V8 project authors. All rights reserved. 1 // Copyright 2015 the V8 project 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 SRC_TRACING_TRACE_EVENT_H_ 5 #ifndef SRC_TRACING_TRACE_EVENT_H_
6 #define SRC_TRACING_TRACE_EVENT_H_ 6 #define SRC_TRACING_TRACE_EVENT_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include "base/trace_event/common/trace_event_common.h" 10 #include "base/trace_event/common/trace_event_common.h"
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 } \ 273 } \
274 \ 274 \
275 private: \ 275 private: \
276 /* Local class friendly DISALLOW_COPY_AND_ASSIGN */ \ 276 /* Local class friendly DISALLOW_COPY_AND_ASSIGN */ \
277 INTERNAL_TRACE_EVENT_UID(ScopedContext) \ 277 INTERNAL_TRACE_EVENT_UID(ScopedContext) \
278 (const INTERNAL_TRACE_EVENT_UID(ScopedContext)&) {} \ 278 (const INTERNAL_TRACE_EVENT_UID(ScopedContext)&) {} \
279 void operator=(const INTERNAL_TRACE_EVENT_UID(ScopedContext)&) {} \ 279 void operator=(const INTERNAL_TRACE_EVENT_UID(ScopedContext)&) {} \
280 uint64_t cid_; \ 280 uint64_t cid_; \
281 }; \ 281 }; \
282 INTERNAL_TRACE_EVENT_UID(ScopedContext) \ 282 INTERNAL_TRACE_EVENT_UID(ScopedContext) \
283 INTERNAL_TRACE_EVENT_UID(scoped_context)(context.raw_id()); 283 INTERNAL_TRACE_EVENT_UID(scoped_context)(context);
284 284
285 #define TRACE_EVENT_RUNTIME_CALL_STATS_TRACING_ENABLED() \ 285 #define TRACE_EVENT_RUNTIME_CALL_STATS_TRACING_ENABLED() \
286 base::NoBarrier_Load(&v8::internal::tracing::kRuntimeCallStatsTracingEnabled) 286 base::NoBarrier_Load(&v8::internal::tracing::kRuntimeCallStatsTracingEnabled)
287 287
288 #define TRACE_EVENT_CALL_STATS_SCOPED(isolate, category_group, name) \ 288 #define TRACE_EVENT_CALL_STATS_SCOPED(isolate, category_group, name) \
289 INTERNAL_TRACE_EVENT_CALL_STATS_SCOPED(isolate, category_group, name) 289 INTERNAL_TRACE_EVENT_CALL_STATS_SCOPED(isolate, category_group, name)
290 290
291 #define INTERNAL_TRACE_EVENT_CALL_STATS_SCOPED(isolate, category_group, name) \ 291 #define INTERNAL_TRACE_EVENT_CALL_STATS_SCOPED(isolate, category_group, name) \
292 { \ 292 { \
293 INTERNAL_TRACE_EVENT_GET_CATEGORY_INFO( \ 293 INTERNAL_TRACE_EVENT_GET_CATEGORY_INFO( \
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after
641 bool has_parent_scope_; 641 bool has_parent_scope_;
642 Data* p_data_; 642 Data* p_data_;
643 Data data_; 643 Data data_;
644 }; 644 };
645 645
646 } // namespace tracing 646 } // namespace tracing
647 } // namespace internal 647 } // namespace internal
648 } // namespace v8 648 } // namespace v8
649 649
650 #endif // SRC_TRACING_TRACE_EVENT_H_ 650 #endif // SRC_TRACING_TRACE_EVENT_H_
OLDNEW
« no previous file with comments | « no previous file | test/cctest/test-trace-event.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698