Home
last modified time | relevance | path

Searched refs:CodeEventListener (Results 1 – 19 of 19) sorted by relevance

/external/v8/src/
Dlog-inl.h16 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()
Dlog.h66 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 …]
Dlog.cc44 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 …]
Dcode-events.h61 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_;
Dcompiler.cc76 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 …]
Dcompiler.h241 void RecordFunctionCompilation(CodeEventListener::LogEventsAndTags tag,
301 void RecordFunctionCompilation(CodeEventListener::LogEventsAndTags tag,
Dcode-stubs.cc87 CodeCreateEvent(CodeEventListener::STUB_TAG, in RecordCodeGeneration()
/external/v8/src/profiler/
Dprofiler-listener.h26 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,
Dprofiler-listener.cc28 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()
Dprofile-generator-inl.h13 CodeEntry::CodeEntry(CodeEventListener::LogEventsAndTags tag, const char* name, in CodeEntry()
Dprofile-generator.h55 inline CodeEntry(CodeEventListener::LogEventsAndTags tag, const char* name,
114 CodeEventListener::LogEventsAndTags tag() const { in tag()
Dprofile-generator.cc112 bit_field_ = TagField::update(bit_field_, CodeEventListener::BUILTIN_TAG); in SetBuiltinId()
277 : root_entry_(CodeEventListener::FUNCTION_TAG, "(root)"), in ProfileTree()
Dcpu-profiler.cc331 auto entry = new CodeEntry(CodeEventListener::FUNCTION_TAG, counter->name(), in CreateEntriesForRuntimeCallStats()
/external/v8/src/snapshot/
Dbuiltin-deserializer.cc165 PROFILE(isolate(), CodeCreateEvent(CodeEventListener::BUILTIN_TAG, in DeserializeBuiltinRaw()
198 PROFILE(isolate(), CodeCreateEvent(CodeEventListener::HANDLER_TAG, in DeserializeHandlerRaw()
Dcode-serializer.cc327 PROFILE(isolate, CodeCreateEvent(CodeEventListener::SCRIPT_TAG, in Deserialize()
/external/v8/src/builtins/
Dsetup-builtins-internal.cc31 PROFILE(isolate, CodeCreateEvent(CodeEventListener::BUILTIN_TAG, in PostBuildProfileAndTracing()
/external/v8/src/wasm/
Dwasm-code-manager.cc161 CodeCreateEvent(CodeEventListener::FUNCTION_TAG, this, in LogCode()
/external/v8/src/interpreter/
Dinterpreter-generator.cc3153 CodeEventListener::BYTECODE_HANDLER_TAG, in GenerateBytecodeHandler()
3219 CodeCreateEvent(CodeEventListener::BYTECODE_HANDLER_TAG, in GenerateDeserializeLazyHandler()
/external/v8/src/compiler/
Dwasm-compiler.cc4002 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()