| /arkcompiler/runtime_core/compiler/tests/ |
| D | osr_test.cpp | 21 #include "events/events.h" 66 Events::Create<Events::MEMORY>(); in ScopeEvents() 70 Events::Destroy(); in ~ScopeEvents() 102 auto events = Events::CastTo<Events::MEMORY>(); in TEST_F() local 103 auto osr_events = events->Select<events::EventsMemory::OsrEntryEvent>(); in TEST_F() 117 auto events = Events::CastTo<Events::MEMORY>(); in TEST_F() local 118 auto osr_events = events->Select<events::EventsMemory::OsrEntryEvent>(); in TEST_F() 154 auto events = Events::CastTo<Events::MEMORY>(); in TEST_F() local 155 auto osr_events = events->Select<events::EventsMemory::OsrEntryEvent>(); in TEST_F() 168 auto events = Events::CastTo<Events::MEMORY>(); in TEST_F() local [all …]
|
| D | aot_test.cpp | 25 #include "events/events.h" 282 TmpFile paoc_output_name("events-out.csv"); in TEST_F() 329 "--paoc-mode=jit", "--events-output=csv", in TEST_F() 330 "--events-file", paoc_output_name.GetFileName()); in TEST_F() 714 TmpFile compiler_events("events.csv"); in TEST_F() 718 … "--compiler-enable-events=true", "--compiler-events-path", compiler_events.GetFileName()); in TEST_F() 760 TmpFile paoc_output_name("events-out.csv"); in TEST_F() 798 … panda_fname1.GetFileName(), "--events-output=csv", "--events-file", in TEST_F()
|
| /arkcompiler/runtime_core/libpandabase/events/ |
| D | events_gen.h.erb | 31 namespace events { 33 % EventsData.events.each do |event| 48 % EventsData.events.each do |event| 59 % EventsData.events.each do |event| 72 class EventsMemory : public events::EventsBase { 75 % EventsData.events.each do |event| 84 …struct EventRecord : public ListNode, public std::variant<<%= EventsData.events.map{|e| e.name.cam… 85 …using VariantBase = std::variant<<%= EventsData.events.map{|e| e.name.camelize + 'Event'}.join(', … 86 % EventsData.events.each do |event| 102 % EventsData.events.each do |event| [all …]
|
| D | events.yaml | 14 # To add new event, create new record in the 'events' section with following fields: 18 # EVENT_OSR_ENTRY(method->GetFullName(), bc, events::OsrEntryKind::TOP_FRAME, events::OsrEntryResul… 20 # There are may be several backends(streams) for events, such as csv file, memory, etc. 21 # Backend can be chosen in runtime by invoking Events::Create(<Events::StreamKind>). 23 # - EventsMemory: store events in the heap memory, useful for tests. 24 # - EventsCsv: dump events to the csv file, useful for statistics gathering. 26 events:
|
| D | events.rb | 72 def events method 73 @events 77 @events = data.events.map { |op| Event.new(op) }
|
| /arkcompiler/runtime_core/runtime/ |
| D | osr.cpp | 18 #include "libpandabase/events/events.h" 41 events::OsrEntryKind osr_kind; in WriteOsrEventError() 44 osr_kind = events::OsrEntryKind::AFTER_IFRAME; in WriteOsrEventError() 47 osr_kind = events::OsrEntryKind::AFTER_CFRAME; in WriteOsrEventError() 50 osr_kind = events::OsrEntryKind::TOP_FRAME; in WriteOsrEventError() 56 events::OsrEntryResult::ERROR); in WriteOsrEventError() 78 events::OsrEntryKind::AFTER_IFRAME, events::OsrEntryResult::SUCCESS); in OsrEntry() 85 events::OsrEntryKind::AFTER_CFRAME, events::OsrEntryResult::SUCCESS); in OsrEntry() 92 events::OsrEntryKind::TOP_FRAME, events::OsrEntryResult::SUCCESS); in OsrEntry()
|
| D | deoptimization.cpp | 18 #include "libpandabase/events/events.h" 149 …EVENT_METHOD_EXIT(last_iframe->GetMethod()->GetFullName() + "(deopt)", events::MethodExitKind::INL… in InvalidateCompiledEntryPoint() 155 …EVENT_METHOD_EXIT(last_iframe->GetMethod()->GetFullName() + "(deopt)", events::MethodExitKind::COM… in InvalidateCompiledEntryPoint() 175 … pc - stack->GetMethod()->GetInstructions(), events::DeoptimizationAfter::CFRAME); in InvalidateCompiledEntryPoint() 197 … prev_frame_kind == FrameKind::NONE ? events::DeoptimizationAfter::TOP in InvalidateCompiledEntryPoint() 198 … : events::DeoptimizationAfter::IFRAME); in InvalidateCompiledEntryPoint() 210 … EVENT_METHOD_EXIT(stack->GetMethod()->GetFullName() + "(drop)", events::MethodExitKind::COMPILED, in InvalidateCompiledEntryPoint()
|
| D | options.yaml | 118 - mm-obj-events 136 - events 520 - name: events-output 528 description: Specify events output 530 - name: events-file 532 default: events.csv 533 description: Path to events output file (if needed)
|
| D | cha.cpp | 18 #include "libpandabase/events/events.h"
|
| /arkcompiler/runtime_core/scripts/ |
| D | trace_enable.sh | 37 echo 1 > $TRACKING_PATH/events/sched/sched_switch/enable 38 echo 1 > $TRACKING_PATH/events/sched/sched_wakeup/enable 42 echo 0 > $TRACKING_PATH/events/sched/sched_switch/enable 43 echo 0 > $TRACKING_PATH/events/sched/sched_wakeup/enable
|
| /arkcompiler/runtime_core/compiler/aot/ |
| D | aot_manager.cpp | 18 #include "events/events.h" 32 EVENT_AOT_MANAGER(file_name, events::AotManagerAction::OPEN_FAILED); in AddFile() 57 EVENT_AOT_MANAGER(file_name, events::AotManagerAction::ADDED); in AddFile() 128 … EVENT_AOT_MANAGER(aot_file->GetFileName(), events::AotManagerAction::CHA_VERIFY_FAILED); in VerifyClassHierarchy() 134 … EVENT_AOT_MANAGER(aot_file->GetFileName(), events::AotManagerAction::FILE_VERIFY_FAILED); in VerifyClassHierarchy() 147 EVENT_AOT_MANAGER(aot_file->GetFileName(), events::AotManagerAction::VERIFIED); in VerifyClassHierarchy()
|
| /arkcompiler/runtime_core/tests/checked/ |
| D | checker.rb | 142 # Events scope for 'events.csv' 187 …#{aot_arg} #{@args} --events-output=csv --compiler-dump --compiler-disasm-dump:single-file #{@opti… 204 @events_scope = SearchScope.from_file("#{@cwd}/events.csv", 'Events') 235 …paoc_args = "--paoc-panda-files #{inputs} --events-output=csv --compiler-dump #{options} #{aot_out… 256 @events_scope = SearchScope.from_file("#{@cwd}/events.csv", 'Events') 294 …raise_error "Events count missmatch for #{match}, expected: #{count}, real: #{res}" unless res == … 485 FileUtils.rm_rf("#{@cwd}/events.csv")
|
| D | tlab_test.pa | 15 …0 --no-async-jit=false --compiler-enable-jit=true --compiler-enable-tlab-events=true --compiler-ch… 32 #! RUN_PAOC options: "--compiler-enable-tlab-events=true --compiler-regex=.*tlab.* --young-shar… 33 #! RUN options: "--compiler-enable-tlab-events=true", entry: "_GLOBAL::main" 43 …0 --no-async-jit=false --compiler-enable-jit=true --compiler-enable-tlab-events=true --compiler-ch…
|
| /arkcompiler/runtime_core/compiler/optimizer/code_generator/ |
| D | codegen_native.cpp | 70 Imm(static_cast<size_t>(events::MethodEnterKind::COMPILED))}); in GeneratePrologue() 74 Imm(static_cast<size_t>(events::MethodEnterKind::COMPILED))}); in GeneratePrologue() 94 Imm(static_cast<size_t>(events::MethodExitKind::COMPILED))}); in GenerateEpilogue() 98 Imm(static_cast<size_t>(events::MethodExitKind::COMPILED))}); in GenerateEpilogue()
|
| /arkcompiler/runtime_core/compiler/ |
| D | compile_method.cpp | 28 #include "events/events.h" 119 … code_info.GetCodeSize(), code_info.GetInfoSize(), events::CompilationStatus::COMPILED); in GetEntryPoint() 153 events::CompilationStatus::FAILED_SINGLE_IMPL); in JITCompileMethod() 159 …EVENT_COMPILATION(method_name, is_osr, method->GetCodeSize(), 0, 0, 0, events::CompilationStatus::… in JITCompileMethod() 199 …EVENT_COMPILATION(method_name, is_osr, method->GetCodeSize(), 0, 0, 0, events::CompilationStatus::… in CompileInGraph() 208 …EVENT_COMPILATION(method_name, is_osr, method->GetCodeSize(), 0, 0, 0, events::CompilationStatus::… in CompileInGraph() 219 …EVENT_COMPILATION(method_name, is_osr, method->GetCodeSize(), 0, 0, 0, events::CompilationStatus::… in CompileInGraph()
|
| D | compiler.yaml | 103 - name: compiler-enable-tlab-events 106 description: Enable events for tlab allocation 465 - name: compiler-enable-events 468 description: Enable optimizations events dump 471 - name: compiler-events-path 473 default: ./compiler/events.csv 474 description: Set path for optimizations events dump 617 events: 825 debug: debugging option (checkers, events, dumps, logs e.t.c)
|
| /arkcompiler/runtime_core/libpandabase/ |
| D | BUILD.gn | 36 template_file = "events/events_gen.h.erb" 37 data_file = "events/events.yaml" 38 requires = [ "events/events.rb" ]
|
| D | options.yaml | 56 - mm-obj-events 76 - events
|
| D | CMakeLists.txt | 190 DATAFILE ${PANDA_ROOT}/libpandabase/events/events.yaml 191 TEMPLATE ${PANDA_ROOT}/libpandabase/events/events_gen.h.erb 193 REQUIRES ${PANDA_ROOT}/libpandabase/events/events.rb
|
| /arkcompiler/runtime_core/libpandabase/templates/ |
| D | logger.yaml | 28 - name: mm-obj-events 56 - name: events
|
| /arkcompiler/toolchain/tooling/ |
| D | protocol_handler.cpp | 101 void ProtocolHandler::SendNotification(const PtBaseEvents &events) in SendNotification() argument 103 LOG_DEBUGGER(DEBUG) << "ProtocolHandler::SendNotification: " << events.GetName(); in SendNotification() 104 std::unique_ptr<PtJson> reply = events.ToJson(); in SendNotification()
|
| D | protocol_channel.h | 35 virtual void SendNotification(const PtBaseEvents &events) = 0;
|
| /arkcompiler/runtime_core/runtime/entrypoints/ |
| D | entrypoints.cpp | 18 #include "libpandabase/events/events.h" 855 extern "C" void SetExceptionEvent([[maybe_unused]] events::ExceptionType type) in SetExceptionEvent() 874 SetExceptionEvent(events::ExceptionType::THROW); in ThrowExceptionEntrypoint() 882 SetExceptionEvent(events::ExceptionType::NATIVE); in ThrowNativeExceptionEntrypoint() 893 SetExceptionEvent(events::ExceptionType::BOUND_CHECK); in ArrayIndexOutOfBoundsExceptionEntrypoint() 904 SetExceptionEvent(events::ExceptionType::BOUND_CHECK); in StringIndexOutOfBoundsExceptionEntrypoint() 914 SetExceptionEvent(events::ExceptionType::NULL_CHECK); in NullPointerExceptionEntrypoint() 927 SetExceptionEvent(events::ExceptionType::ABSTRACT_METHOD); in AbstractMethodErrorEntrypoint() 939 SetExceptionEvent(events::ExceptionType::ARITHMETIC); in ArithmeticExceptionEntrypoint() 949 SetExceptionEvent(events::ExceptionType::NEGATIVE_SIZE); in NegativeArraySizeExceptionEntrypoint() [all …]
|
| /arkcompiler/runtime_core/docs/ |
| D | runtime-debug-api.md | 25 …r`](../runtime/include/runtime_notification.h) class that allows to subscript for different events: 29 [`tooling::Debugger`](../runtime/tooling/debugger.h) subscribes to these events and notificates deb…
|
| /arkcompiler/runtime_core/compiler/optimizer/templates/intrinsics/ |
| D | intrinsics_codegen.inl.erb | 39 events::IntrinsicCompilationResult::INLINE_FAILED);
|