/external/v8/src/profiler/ |
D | profile-generator-inl.h | 15 CodeEntry::CodeEntry(CodeEventListener::LogEventsAndTags tag, const char* name, in CodeEntry() 54 case CodeEventListener::EVAL_TAG: in source_type() 55 case CodeEventListener::SCRIPT_TAG: in source_type() 56 case CodeEventListener::LAZY_COMPILE_TAG: in source_type() 57 case CodeEventListener::FUNCTION_TAG: in source_type() 58 case CodeEventListener::INTERPRETED_FUNCTION_TAG: in source_type() 60 case CodeEventListener::BUILTIN_TAG: in source_type() 61 case CodeEventListener::HANDLER_TAG: in source_type() 62 case CodeEventListener::BYTECODE_HANDLER_TAG: in source_type() 63 case CodeEventListener::NATIVE_FUNCTION_TAG: in source_type() [all …]
|
D | profiler-listener.cc | 212 rec->entry = new CodeEntry(CodeEventListener::CALLBACK_TAG, GetName(*name)); in CallbackEvent() 222 rec->entry = new CodeEntry(CodeEventListener::CALLBACK_TAG, in GetterCallbackEvent() 233 rec->entry = new CodeEntry(CodeEventListener::CALLBACK_TAG, in SetterCallbackEvent() 245 CodeEventListener::REG_EXP_TAG, GetConsName("RegExp: ", *source), in RegExpCodeCreateEvent()
|
D | profile-generator.cc | 102 return new CodeEntry(CodeEventListener::FUNCTION_TAG, in Create() 107 return new CodeEntry(CodeEventListener::FUNCTION_TAG, in Create() 112 return new CodeEntry(CodeEventListener::BUILTIN_TAG, in Create() 117 return new CodeEntry(CodeEventListener::FUNCTION_TAG, in Create() 122 return new CodeEntry(CodeEventListener::FUNCTION_TAG, in Create() 152 bit_field_ = TagField::update(bit_field_, CodeEventListener::BUILTIN_TAG); in SetBuiltinId()
|
D | profile-generator.h | 62 inline CodeEntry(CodeEventListener::LogEventsAndTags tag, const char* name, 137 CodeEventListener::LogEventsAndTags tag() const { in tag() 206 using TagField = base::BitField<CodeEventListener::LogEventsAndTags, 0, 8>;
|
D | cpu-profiler-inl.h | 53 entry = new CodeEntry(CodeEventListener::BUILTIN_TAG, in UpdateCodeMap()
|
D | profiler-listener.h | 27 class V8_EXPORT_PRIVATE ProfilerListener : public CodeEventListener {
|
D | cpu-profiler.cc | 362 auto entry = new CodeEntry(CodeEventListener::FUNCTION_TAG, counter->name(), in CreateEntriesForRuntimeCallStats()
|
/external/v8/src/logging/ |
D | code-events.h | 65 class CodeEventListener { 73 virtual ~CodeEventListener() = default; 113 class CodeEventDispatcher : public CodeEventListener { 115 using LogEventsAndTags = CodeEventListener::LogEventsAndTags; 119 bool AddListener(CodeEventListener* listener) { in AddListener() 123 void RemoveListener(CodeEventListener* listener) { in RemoveListener() 137 std::function<void(CodeEventListener*)> callback) { in DispatchEventToListeners() 139 for (CodeEventListener* listener : listeners_) { in DispatchEventToListeners() 146 DispatchEventToListeners([=](CodeEventListener* listener) { in CodeCreateEvent() 152 DispatchEventToListeners([=](CodeEventListener* listener) { in CodeCreateEvent() [all …]
|
D | log-inl.h | 16 CodeEventListener::LogEventsAndTags Logger::ToNativeByScript( in ToNativeByScript() 17 CodeEventListener::LogEventsAndTags tag, Script script) { in ToNativeByScript() 20 case CodeEventListener::FUNCTION_TAG: in ToNativeByScript() 21 return CodeEventListener::NATIVE_FUNCTION_TAG; in ToNativeByScript() 22 case CodeEventListener::LAZY_COMPILE_TAG: in ToNativeByScript() 23 return CodeEventListener::NATIVE_LAZY_COMPILE_TAG; in ToNativeByScript() 24 case CodeEventListener::SCRIPT_TAG: in ToNativeByScript() 25 return CodeEventListener::NATIVE_SCRIPT_TAG; in ToNativeByScript()
|
D | log.h | 63 class CodeEventListener; variable 90 CodeEventListener* listener = nullptr) 98 CodeEventListener::LogEventsAndTags tag = 99 CodeEventListener::LAZY_COMPILE_TAG); 104 CodeEventListener* listener_; 109 class Logger : public CodeEventListener { 189 V8_EXPORT_PRIVATE void AddCodeEventListener(CodeEventListener* listener); 190 V8_EXPORT_PRIVATE void RemoveCodeEventListener(CodeEventListener* listener); 280 V8_INLINE static CodeEventListener::LogEventsAndTags ToNativeByScript( 281 CodeEventListener::LogEventsAndTags, Script); [all …]
|
D | log.cc | 50 static const char* kLogEventsNames[CodeEventListener::NUMBER_OF_LOG_EVENTS] = { 55 CodeEventListener::LogEventsAndTags tag) { in GetCodeEventTypeForTag() 57 case CodeEventListener::NUMBER_OF_LOG_EVENTS: in GetCodeEventTypeForTag() 58 #define V(Event, _) case CodeEventListener::Event: in GetCodeEventTypeForTag() 63 case CodeEventListener::From: \ in GetCodeEventTypeForTag() 262 name_buffer_->Init(CodeEventListener::REG_EXP_TAG); in RegExpCodeCreateEvent() 485 code_event.code_type = GetCodeEventTypeForTag(CodeEventListener::REG_EXP_TAG); in RegExpCodeCreateEvent() 1003 void Logger::AddCodeEventListener(CodeEventListener* listener) { in AddCodeEventListener() 1008 void Logger::RemoveCodeEventListener(CodeEventListener* listener) { in RemoveCodeEventListener() 1201 CodeEventListener::LogEventsAndTags tag, CodeKind kind, uint8_t* address, in AppendCodeCreateHeader() [all …]
|
/external/v8/src/codegen/ |
D | compiler.cc | 203 void LogFunctionCompilation(CodeEventListener::LogEventsAndTags tag, in LogFunctionCompilation() 226 CodeEventListener::LogEventsAndTags log_tag = in LogFunctionCompilation() 236 case CodeEventListener::EVAL_TAG: in LogFunctionCompilation() 239 case CodeEventListener::SCRIPT_TAG: in LogFunctionCompilation() 241 case CodeEventListener::LAZY_COMPILE_TAG: in LogFunctionCompilation() 244 case CodeEventListener::FUNCTION_TAG: in LogFunctionCompilation() 317 Isolate* isolate, CodeEventListener::LogEventsAndTags tag, in RecordUnoptimizedFunctionCompilation() 459 CodeEventListener::LogEventsAndTags tag, Isolate* isolate) const { in RecordFunctionCompilation() 525 CodeEventListener::LogEventsAndTags log_tag = Logger::ToNativeByScript( in InstallInterpreterTrampolineCopy() 526 CodeEventListener::INTERPRETED_FUNCTION_TAG, *script); in InstallInterpreterTrampolineCopy() [all …]
|
D | compiler.h | 275 void RecordFunctionCompilation(CodeEventListener::LogEventsAndTags tag, 353 void RecordFunctionCompilation(CodeEventListener::LogEventsAndTags tag,
|
/external/v8/src/builtins/ |
D | builtins.cc | 313 PROFILE(isolate, CodeCreateEvent(CodeEventListener::BUILTIN_TAG, code, in EmitCodeCreateEvents() 326 CodeEventListener::BYTECODE_HANDLER_TAG, code, in EmitCodeCreateEvents()
|
/external/v8/src/snapshot/ |
D | code-serializer.cc | 255 CodeCreateEvent(CodeEventListener::INTERPRETED_FUNCTION_TAG, in CreateInterpreterDataForDeserializedCode() 389 CodeCreateEvent(CodeEventListener::SCRIPT_TAG, in Deserialize()
|
/external/v8/src/wasm/ |
D | function-compiler.cc | 235 PROFILE(isolate, CodeCreateEvent(CodeEventListener::STUB_TAG, in RecordWasmHeapStubCompilation()
|
D | wasm-code-manager.cc | 271 CodeCreateEvent(CodeEventListener::FUNCTION_TAG, this, name)); in LogCode()
|
/external/v8/src/runtime/ |
D | runtime-test.cc | 1602 class NoopListener final : public CodeEventListener { in RUNTIME_FUNCTION()
|