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

Side by Side Diff: src/log.h

Issue 1148293009: Remove the experimental perf jit support until the license is clarified. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 6 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 | « src/flag-definitions.h ('k') | src/log.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 V8_LOG_H_ 5 #ifndef V8_LOG_H_
6 #define V8_LOG_H_ 6 #define V8_LOG_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "src/allocation.h" 10 #include "src/allocation.h"
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 V(NATIVE_FUNCTION_TAG, "Function") \ 139 V(NATIVE_FUNCTION_TAG, "Function") \
140 V(NATIVE_LAZY_COMPILE_TAG, "LazyCompile") \ 140 V(NATIVE_LAZY_COMPILE_TAG, "LazyCompile") \
141 V(NATIVE_SCRIPT_TAG, "Script") 141 V(NATIVE_SCRIPT_TAG, "Script")
142 // Note that 'NATIVE_' cases for functions and scripts are mapped onto 142 // Note that 'NATIVE_' cases for functions and scripts are mapped onto
143 // original tags when writing to the log. 143 // original tags when writing to the log.
144 144
145 145
146 class JitLogger; 146 class JitLogger;
147 class PerfBasicLogger; 147 class PerfBasicLogger;
148 class LowLevelLogger; 148 class LowLevelLogger;
149 class PerfJitLogger;
150 class Sampler; 149 class Sampler;
151 150
152 class Logger { 151 class Logger {
153 public: 152 public:
154 enum StartEnd { START = 0, END = 1 }; 153 enum StartEnd { START = 0, END = 1 };
155 154
156 #define DECLARE_ENUM(enum_item, ignore) enum_item, 155 #define DECLARE_ENUM(enum_item, ignore) enum_item,
157 enum LogEventsAndTags { 156 enum LogEventsAndTags {
158 LOG_EVENTS_AND_TAGS_LIST(DECLARE_ENUM) 157 LOG_EVENTS_AND_TAGS_LIST(DECLARE_ENUM)
159 NUMBER_OF_LOG_EVENTS 158 NUMBER_OF_LOG_EVENTS
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
394 friend class EventLog; 393 friend class EventLog;
395 friend class Isolate; 394 friend class Isolate;
396 friend class TimeLog; 395 friend class TimeLog;
397 friend class Profiler; 396 friend class Profiler;
398 template <StateTag Tag> friend class VMState; 397 template <StateTag Tag> friend class VMState;
399 friend class LoggerTestHelper; 398 friend class LoggerTestHelper;
400 399
401 bool is_logging_; 400 bool is_logging_;
402 Log* log_; 401 Log* log_;
403 PerfBasicLogger* perf_basic_logger_; 402 PerfBasicLogger* perf_basic_logger_;
404 PerfJitLogger* perf_jit_logger_;
405 LowLevelLogger* ll_logger_; 403 LowLevelLogger* ll_logger_;
406 JitLogger* jit_logger_; 404 JitLogger* jit_logger_;
407 List<CodeEventListener*> listeners_; 405 List<CodeEventListener*> listeners_;
408 406
409 // Guards against multiple calls to TearDown() that can happen in some tests. 407 // Guards against multiple calls to TearDown() that can happen in some tests.
410 // 'true' between SetUp() and TearDown(). 408 // 'true' between SetUp() and TearDown().
411 bool is_initialized_; 409 bool is_initialized_;
412 410
413 base::ElapsedTimer timer_; 411 base::ElapsedTimer timer_;
414 412
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
528 int length) = 0; 526 int length) = 0;
529 527
530 NameBuffer* name_buffer_; 528 NameBuffer* name_buffer_;
531 }; 529 };
532 530
533 531
534 } } // namespace v8::internal 532 } } // namespace v8::internal
535 533
536 534
537 #endif // V8_LOG_H_ 535 #endif // V8_LOG_H_
OLDNEW
« no previous file with comments | « src/flag-definitions.h ('k') | src/log.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698