/external/v8/src/ |
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 | 66 class CodeEventListener; variable 103 CodeEventListener* listener = nullptr) 112 CodeEventListener::LogEventsAndTags tag = 113 CodeEventListener::LAZY_COMPILE_TAG); 120 CodeEventListener* listener_; 123 class Logger : public CodeEventListener { 201 void AddCodeEventListener(CodeEventListener* listener); 202 void RemoveCodeEventListener(CodeEventListener* listener); 209 void CodeCreateEvent(CodeEventListener::LogEventsAndTags tag, 211 void CodeCreateEvent(CodeEventListener::LogEventsAndTags tag, [all …]
|
D | log.cc | 44 static const char* kLogEventsNames[CodeEventListener::NUMBER_OF_LOG_EVENTS] = { 49 CodeEventListener::LogEventsAndTags tag) { in GetCodeEventTypeForTag() 51 case CodeEventListener::NUMBER_OF_LOG_EVENTS: in GetCodeEventTypeForTag() 52 #define V(Event, _) case CodeEventListener::Event: in GetCodeEventTypeForTag() 57 case CodeEventListener::From: \ in GetCodeEventTypeForTag() 105 void Init(CodeEventListener::LogEventsAndTags tag) { in Init() 187 void CodeEventLogger::CodeCreateEvent(CodeEventListener::LogEventsAndTags tag, in CodeCreateEvent() 194 void CodeEventLogger::CodeCreateEvent(CodeEventListener::LogEventsAndTags tag, in CodeCreateEvent() 201 void CodeEventLogger::CodeCreateEvent(CodeEventListener::LogEventsAndTags tag, in CodeCreateEvent() 210 void CodeEventLogger::CodeCreateEvent(CodeEventListener::LogEventsAndTags tag, in CodeCreateEvent() [all …]
|
D | code-events.h | 61 class CodeEventListener { 69 virtual ~CodeEventListener() {} in ~CodeEventListener() 99 using LogEventsAndTags = CodeEventListener::LogEventsAndTags; 103 bool AddListener(CodeEventListener* listener) { in AddListener() 107 void RemoveListener(CodeEventListener* listener) { in RemoveListener() 174 std::unordered_set<CodeEventListener*> listeners_;
|
D | compiler.cc | 76 void LogFunctionCompilation(CodeEventListener::LogEventsAndTags tag, in LogFunctionCompilation() 98 CodeEventListener::LogEventsAndTags log_tag = in LogFunctionCompilation() 108 case CodeEventListener::EVAL_TAG: in LogFunctionCompilation() 111 case CodeEventListener::SCRIPT_TAG: in LogFunctionCompilation() 113 case CodeEventListener::LAZY_COMPILE_TAG: in LogFunctionCompilation() 116 case CodeEventListener::FUNCTION_TAG: in LogFunctionCompilation() 170 CodeEventListener::LogEventsAndTags tag, Handle<SharedFunctionInfo> shared, in RecordFunctionCompilation() 269 CodeEventListener::LogEventsAndTags tag, Isolate* isolate) const { in RecordFunctionCompilation() 336 CodeEventListener::LogEventsAndTags log_tag = Logger::ToNativeByScript( in InstallBytecodeArray() 337 CodeEventListener::INTERPRETED_FUNCTION_TAG, *script); in InstallBytecodeArray() [all …]
|
D | compiler.h | 241 void RecordFunctionCompilation(CodeEventListener::LogEventsAndTags tag, 301 void RecordFunctionCompilation(CodeEventListener::LogEventsAndTags tag,
|
D | code-stubs.cc | 87 CodeCreateEvent(CodeEventListener::STUB_TAG, in RecordCodeGeneration()
|
/external/v8/src/profiler/ |
D | profiler-listener.h | 26 class ProfilerListener : public CodeEventListener { 32 void CodeCreateEvent(CodeEventListener::LogEventsAndTags tag, 34 void CodeCreateEvent(CodeEventListener::LogEventsAndTags tag, 36 void CodeCreateEvent(CodeEventListener::LogEventsAndTags tag, 39 void CodeCreateEvent(CodeEventListener::LogEventsAndTags tag, 42 void CodeCreateEvent(CodeEventListener::LogEventsAndTags tag, 58 CodeEventListener::LogEventsAndTags tag, const char* name,
|
D | profiler-listener.cc | 28 rec->entry = NewCodeEntry(CodeEventListener::CALLBACK_TAG, GetName(name)); in CallbackEvent() 33 void ProfilerListener::CodeCreateEvent(CodeEventListener::LogEventsAndTags tag, in CodeCreateEvent() 47 void ProfilerListener::CodeCreateEvent(CodeEventListener::LogEventsAndTags tag, in CodeCreateEvent() 61 void ProfilerListener::CodeCreateEvent(CodeEventListener::LogEventsAndTags tag, in CodeCreateEvent() 79 void ProfilerListener::CodeCreateEvent(CodeEventListener::LogEventsAndTags tag, in CodeCreateEvent() 112 void ProfilerListener::CodeCreateEvent(CodeEventListener::LogEventsAndTags tag, in CodeCreateEvent() 165 NewCodeEntry(CodeEventListener::CALLBACK_TAG, GetConsName("get ", name)); in GetterCallbackEvent() 176 CodeEventListener::REG_EXP_TAG, GetConsName("RegExp: ", source), in RegExpCodeCreateEvent() 188 NewCodeEntry(CodeEventListener::CALLBACK_TAG, GetConsName("set ", name)); in SetterCallbackEvent() 303 CodeEventListener::LogEventsAndTags tag, const char* name, in NewCodeEntry()
|
D | profile-generator-inl.h | 13 CodeEntry::CodeEntry(CodeEventListener::LogEventsAndTags tag, const char* name, in CodeEntry()
|
D | profile-generator.h | 55 inline CodeEntry(CodeEventListener::LogEventsAndTags tag, const char* name, 114 CodeEventListener::LogEventsAndTags tag() const { in tag()
|
D | profile-generator.cc | 112 bit_field_ = TagField::update(bit_field_, CodeEventListener::BUILTIN_TAG); in SetBuiltinId() 277 : root_entry_(CodeEventListener::FUNCTION_TAG, "(root)"), in ProfileTree()
|
D | cpu-profiler.cc | 331 auto entry = new CodeEntry(CodeEventListener::FUNCTION_TAG, counter->name(), in CreateEntriesForRuntimeCallStats()
|
/external/v8/src/snapshot/ |
D | builtin-deserializer.cc | 165 PROFILE(isolate(), CodeCreateEvent(CodeEventListener::BUILTIN_TAG, in DeserializeBuiltinRaw() 198 PROFILE(isolate(), CodeCreateEvent(CodeEventListener::HANDLER_TAG, in DeserializeHandlerRaw()
|
D | code-serializer.cc | 327 PROFILE(isolate, CodeCreateEvent(CodeEventListener::SCRIPT_TAG, in Deserialize()
|
/external/v8/src/builtins/ |
D | setup-builtins-internal.cc | 31 PROFILE(isolate, CodeCreateEvent(CodeEventListener::BUILTIN_TAG, in PostBuildProfileAndTracing()
|
/external/v8/src/wasm/ |
D | wasm-code-manager.cc | 161 CodeCreateEvent(CodeEventListener::FUNCTION_TAG, this, in LogCode()
|
/external/v8/src/interpreter/ |
D | interpreter-generator.cc | 3153 CodeEventListener::BYTECODE_HANDLER_TAG, in GenerateBytecodeHandler() 3219 CodeCreateEvent(CodeEventListener::BYTECODE_HANDLER_TAG, in GenerateDeserializeLazyHandler()
|
/external/v8/src/compiler/ |
D | wasm-compiler.cc | 4002 void RecordFunctionCompilation(CodeEventListener::LogEventsAndTags tag, in RecordFunctionCompilation() 4832 RecordFunctionCompilation(CodeEventListener::STUB_TAG, isolate, code, in CompileJSToWasmWrapper() 4910 RecordFunctionCompilation(CodeEventListener::STUB_TAG, isolate, code, in CompileWasmToJSWrapper() 4977 RecordFunctionCompilation(CodeEventListener::STUB_TAG, isolate, code, in CompileWasmInterpreterEntry()
|