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

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

Issue 2780293002: [Tracing] Remove unused variable kRuntimeCallStatsTracingEnabled. (Closed)
Patch Set: Created 3 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
« no previous file with comments | « no previous file | no next file » | 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 #include <memory> 9 #include <memory>
10 10
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 class Isolate; 268 class Isolate;
269 269
270 namespace tracing { 270 namespace tracing {
271 271
272 // Specify these values when the corresponding argument of AddTraceEvent is not 272 // Specify these values when the corresponding argument of AddTraceEvent is not
273 // used. 273 // used.
274 const int kZeroNumArgs = 0; 274 const int kZeroNumArgs = 0;
275 const decltype(nullptr) kGlobalScope = nullptr; 275 const decltype(nullptr) kGlobalScope = nullptr;
276 const uint64_t kNoId = 0; 276 const uint64_t kNoId = 0;
277 277
278 extern base::Atomic32 kRuntimeCallStatsTracingEnabled;
279
280 class TraceEventHelper { 278 class TraceEventHelper {
281 public: 279 public:
282 static v8::Platform* GetCurrentPlatform(); 280 static v8::Platform* GetCurrentPlatform();
283 }; 281 };
284 282
285 // TraceID encapsulates an ID that can either be an integer or pointer. Pointers 283 // TraceID encapsulates an ID that can either be an integer or pointer. Pointers
286 // are by default mangled with the Process ID so that they are unlikely to 284 // are by default mangled with the Process ID so that they are unlikely to
287 // collide when the same pointer is used on different processes. 285 // collide when the same pointer is used on different processes.
288 class TraceID { 286 class TraceID {
289 public: 287 public:
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after
593 bool has_parent_scope_; 591 bool has_parent_scope_;
594 Data* p_data_; 592 Data* p_data_;
595 Data data_; 593 Data data_;
596 }; 594 };
597 595
598 } // namespace tracing 596 } // namespace tracing
599 } // namespace internal 597 } // namespace internal
600 } // namespace v8 598 } // namespace v8
601 599
602 #endif // SRC_TRACING_TRACE_EVENT_H_ 600 #endif // SRC_TRACING_TRACE_EVENT_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698