| /external/perfetto/src/trace_processor/importers/proto/ |
| D | profile_packet_utils.h | 25 #include "protos/perfetto/trace/profiling/profile_common.pbzero.h" 26 #include "protos/perfetto/trace/profiling/profile_packet.pbzero.h" 70 protos::pbzero::Profiling::CpuMode cpu_mode) { in StringifyCpuMode() 71 using protos::pbzero::Profiling; in StringifyCpuMode() 73 case Profiling::MODE_UNKNOWN: in StringifyCpuMode() 75 case Profiling::MODE_KERNEL: in StringifyCpuMode() 77 case Profiling::MODE_USER: in StringifyCpuMode() 79 case Profiling::MODE_HYPERVISOR: in StringifyCpuMode() 81 case Profiling::MODE_GUEST_KERNEL: in StringifyCpuMode() 83 case Profiling::MODE_GUEST_USER: in StringifyCpuMode() [all …]
|
| /external/armnn/ |
| D | Android.bp | 38 "profiling/common/src/CommandHandlerFunctor.cpp", 39 "profiling/common/src/CommandHandlerKey.cpp", 40 "profiling/common/src/CommandHandlerRegistry.cpp", 41 "profiling/common/src/CommonProfilingUtils.cpp", 42 "profiling/common/src/CounterDirectory.cpp", 43 "profiling/common/src/LabelsAndEventClasses.cpp", 44 "profiling/common/src/Logging.cpp", 45 "profiling/common/src/NetworkSockets.cpp", 46 "profiling/common/src/PacketVersionResolver.cpp", 47 "profiling/common/src/Processes.cpp", [all …]
|
| D | CMakeLists.txt | 57 add_subdirectory(profiling/common/src) 58 add_subdirectory(profiling/client/src) 376 src/armnn/Profiling.cpp 380 src/armnn/Profiling.hpp 426 # Files used for Streamline-based profiling backend 484 src/profiling 485 profiling/common/include 486 profiling/client/include 630 src/profiling/test/BufferTests.cpp 631 src/profiling/test/FileOnlyProfilingDecoratorTests.cpp [all …]
|
| /external/armnn/src/backends/backendsCommon/test/ |
| D | CMakeLists.txt | 221 target_include_directories(armnnBackendsCommonUnitTests PRIVATE ${PROJECT_SOURCE_DIR}/src/profiling) 222 target_include_directories(armnnBackendsCommonUnitTests PRIVATE ${PROJECT_SOURCE_DIR}/profiling/com… 223 target_include_directories(armnnBackendsCommonUnitTests PRIVATE ${PROJECT_SOURCE_DIR}/profiling/cli… 251 target_include_directories(ValidTestDynamicBackend PRIVATE ${PROJECT_SOURCE_DIR}/src/profiling) 252 target_include_directories(ValidTestDynamicBackend PRIVATE ${PROJECT_SOURCE_DIR}/profiling/common/i… 253 target_include_directories(ValidTestDynamicBackend PRIVATE ${PROJECT_SOURCE_DIR}/profiling/client/i… 261 target_include_directories(InvalidTestDynamicBackend1 PRIVATE ${PROJECT_SOURCE_DIR}/src/profiling) 262 target_include_directories(InvalidTestDynamicBackend1 PRIVATE ${PROJECT_SOURCE_DIR}/profiling/commo… 263 target_include_directories(InvalidTestDynamicBackend1 PRIVATE ${PROJECT_SOURCE_DIR}/profiling/clien… 271 target_include_directories(InvalidTestDynamicBackend2 PRIVATE ${PROJECT_SOURCE_DIR}/src/profiling) [all …]
|
| /external/tensorflow/tensorflow/python/profiler/ |
| D | profiler_v2.py | 18 - Programmatic Mode: start(logdir), stop(), and Profiler class. Profiling starts 20 Profiling stops when calling stop() to save to 22 - Sampling Mode: start_server(). It will perform profiling after receiving a 23 profiling request. 29 profiling. Before enabling customized profiling, set the callback flag 30 "profile_batches=[]" to disable automatic sampled profiling. 63 delay_ms: Requests for all hosts to start profiling at a timestamp that is 65 zero, each host will start profiling immediately upon receiving the 82 """Start profiling TensorFlow performance. 85 logdir: Profiling results log directory. [all …]
|
| /external/armnn/python/pyarmnn/src/pyarmnn/swig/modules/ |
| D | armnn_profiler.i | 14 Interface for profiling Arm NN. See `IRuntime.GetProfiler`. 16 IProfiler object allows you to enable profiling and get various profiling results. 27 Sets the profiler to start/stop profiling. 30 enableProfiling (bool): Flag to enable/disable profiling. 38 Checks if profiling is enabled. 41 bool: If profiling is enabled or not. 52 Gets the string value of the profiling events analysis log. 55 str: The profiling events analysis log. 68 Gets the profiling log as the JSON string. 71 str: Profiling log as JSON formatted string.
|
| /external/angle/third_party/OpenCL-CTS/gn/profiling/ |
| D | BUILD.gn | 7 ocl_cts_source_set("profiling") { 9 [ "$angle_root/third_party/OpenCL-CTS/src/test_conformance/profiling" ] 11 "$angle_root/third_party/OpenCL-CTS/src/test_conformance/profiling/copy.cpp", 12 "$angle_root/third_party/OpenCL-CTS/src/test_conformance/profiling/execute.cpp", 13 "$angle_root/third_party/OpenCL-CTS/src/test_conformance/profiling/execute_multipass.cpp", 14 "$angle_root/third_party/OpenCL-CTS/src/test_conformance/profiling/main.cpp", 15 "$angle_root/third_party/OpenCL-CTS/src/test_conformance/profiling/readArray.cpp", 16 "$angle_root/third_party/OpenCL-CTS/src/test_conformance/profiling/readImage.cpp", 17 "$angle_root/third_party/OpenCL-CTS/src/test_conformance/profiling/writeArray.cpp", 18 "$angle_root/third_party/OpenCL-CTS/src/test_conformance/profiling/writeImage.cpp",
|
| /external/perfetto/src/profiling/memory/ |
| D | client_api.cc | 18 #include "src/profiling/memory/heap_profile_internal.h" 39 #include "src/profiling/memory/client.h" 40 #include "src/profiling/memory/client_api_factory.h" 41 #include "src/profiling/memory/scoped_spinlock.h" 42 #include "src/profiling/memory/unhooked_allocator.h" 43 #include "src/profiling/memory/wire_protocol.h" 54 perfetto::profiling::Sampler sampler; 69 using perfetto::profiling::ScopedSpinlock; 70 using perfetto::profiling::UnhookedAllocator; 82 // Holds the active profiling client. Is empty at the start, or after we've [all …]
|
| D | malloc_interceptor_bionic_hooks.cc | 27 #include "src/profiling/memory/heap_profile_internal.h" 29 #include "src/profiling/memory/wrap_allocators.h" 105 // Setup for the rest of profiling. The first time profiling is triggered in a 107 // rest of the hooks are patched in. However, as we support multiple profiling 112 // Note: if profiling is triggered at runtime, this runs on a dedicated pthread 113 // (which is safe to block). If profiling is triggered at startup, then this 130 return perfetto::profiling::wrap_malloc(g_heap_id, GetDispatch()->malloc, in heapprofd_malloc() 135 return perfetto::profiling::wrap_calloc(g_heap_id, GetDispatch()->calloc, in heapprofd_calloc() 141 return perfetto::profiling::wrap_memalign( in heapprofd_aligned_alloc() 146 return perfetto::profiling::wrap_memalign(g_heap_id, GetDispatch()->memalign, in heapprofd_memalign() [all …]
|
| D | malloc_interceptor_glibc_preload.cc | 22 #include "src/profiling/memory/wrap_allocators.h" 36 // The code inside the perfetto::profiling::wrap_ functions has been designed to 77 return perfetto::profiling::wrap_malloc(g_heap_id, __libc_malloc, size); in malloc() 86 return perfetto::profiling::wrap_free(g_heap_id, __libc_free, ptr); in free() 95 return perfetto::profiling::wrap_calloc(g_heap_id, __libc_calloc, nmemb, in calloc() 105 return perfetto::profiling::wrap_realloc(g_heap_id, __libc_realloc, ptr, in realloc() 124 void* alloc = perfetto::profiling::wrap_memalign(g_heap_id, __libc_memalign, in posix_memalign() 139 return perfetto::profiling::wrap_memalign(g_heap_id, __libc_memalign, in aligned_alloc() 149 return perfetto::profiling::wrap_memalign(g_heap_id, __libc_memalign, in memalign() 159 return perfetto::profiling::wrap_pvalloc(g_heap_id, __libc_pvalloc, size); in pvalloc() [all …]
|
| D | client_api_factory_android.cc | 17 #include "src/profiling/memory/client_api_factory.h" 30 #include "src/profiling/memory/client.h" 37 namespace profiling { namespace 42 UnhookedAllocator<perfetto::profiling::Client> unhooked_allocator) { in ConstructClient() 44 using perfetto::profiling::Client; in ConstructClient() 47 Client::ConnectToHeapprofd(perfetto::profiling::kHeapprofdSocketFile); in ConstructClient() 50 perfetto::profiling::kHeapprofdSocketFile); in ConstructClient() 57 } // namespace profiling
|
| D | heapprofd_producer.h | 36 #include "src/profiling/common/interning_output.h" 37 #include "src/profiling/common/proc_utils.h" 38 #include "src/profiling/common/profiler_guardrails.h" 39 #include "src/profiling/memory/bookkeeping.h" 40 #include "src/profiling/memory/bookkeeping_dump.h" 41 #include "src/profiling/memory/log_histogram.h" 42 #include "src/profiling/memory/shared_ring_buffer.h" 43 #include "src/profiling/memory/system_property.h" 44 #include "src/profiling/memory/unwinding.h" 45 #include "src/profiling/memory/unwound_messages.h" [all …]
|
| /external/tensorflow/tensorflow/lite/tools/benchmark/ |
| D | profiling_listener.h | 22 #include "tensorflow/lite/profiling/buffered_profiler.h" 23 #include "tensorflow/lite/profiling/profile_summarizer.h" 24 #include "tensorflow/lite/profiling/profile_summary_formatter.h" 30 // Dumps profiling events if profiling is enabled. 36 std::shared_ptr<profiling::ProfileSummaryFormatter> summarizer_formatter = 37 std::make_shared<profiling::ProfileSummaryDefaultFormatter>()); 48 profiling::ProfileSummarizer run_summarizer_; 49 profiling::ProfileSummarizer init_summarizer_; 56 profiling::BufferedProfiler profiler_;
|
| /external/armnn/samples/common/include/Utils/ |
| D | Profiling.hpp | 17 * Profiling should be enabled with a parameter passed to the constructor and 22 class Profiling { class 34 Profiling() : mProfilingEnabled(false) {}; in Profiling() function in common::Profiling 37 * @brief Initializes the profiling object. 39 * * @param[in] isEnabled - Enables the profiling computation and prints. 41 explicit Profiling(bool isEnabled) : mProfilingEnabled(isEnabled) {}; in Profiling() function in common::Profiling 44 * @brief Starts the profiling measurement. 57 * @brief Stops the profiling measurement, without printing the results. 78 * @brief Stop the profiling measurement and print the result in micro-seconds. 86 … std::cout << "Profiling: " << title << ": " << ProfilingGetUs() << " uSeconds" << std::endl; in ProfilingStopAndPrintUs()
|
| /external/skia/modules/canvaskit/npm_build/ |
| D | package.json | 38 "./profiling": { 39 "require": "./bin/profiling/canvaskit.js", 40 "import": "./bin/profiling/canvaskit.js", 65 "./bin/profiling/canvaskit": { 66 "require": "./bin/profiling/canvaskit.js", 67 "import": "./bin/profiling/canvaskit.js", 70 "./bin/profiling/canvaskit.js": { 71 "require": "./bin/profiling/canvaskit.js", 72 "import": "./bin/profiling/canvaskit.js", 75 "./bin/profiling/canvaskit.wasm": "./bin/profiling/canvaskit.wasm",
|
| /external/armnn/delegate/common/include/ |
| D | DelegateOptions.hpp | 81 * Option key: "gpu-enable-profiling" \n 83 * Description: Enables GPU profiling 85 * Option key: "gpu-kernel-profiling-enabled" \n 87 * Description: Enables GPU kernel profiling 127 * Option key: "enable-internal-profiling" \n 129 * Description: Enable the internal profiling feature. 131 * Option key: "internal-profiling-detail" \n 133 …* Description: Set the detail on the internal profiling. 1 = DetailsWithEvents, 2 = DetailsOnly. 135 * Option key: "enable-external-profiling" \n 137 * Description: Enable the external profiling feature. [all …]
|
| /external/armnn/include/armnn/ |
| D | IProfiler.hpp | 24 /// Enables/disables profiling for this profiler. 25 … /// @param [in] enableProfiling A flag that indicates whether profiling should be enabled or not. 28 /// Checks whether profiling is enabled. 29 /// Profiling is disabled by default. 30 /// @return true if profiling is enabled, false otherwise. 34 …/// Please refer to the configuration variables in Profiling.cpp to customize the information writ… 35 /// @param [out] outStream The stream where to write the profiling results to. 39 /// @param [out] outStream The stream where to write the profiling results to. 43 /// Also outputs tensor info. This will be part of the profiling json output
|
| /external/tensorflow/tensorflow/python/debug/lib/ |
| D | profiling_test.py | 15 """Unit tests for the basic data structures and algorithms for profiling.""" 18 from tensorflow.python.debug.lib import profiling 31 self.profile_datum_1 = profiling.ProfileDatum( 39 self.profile_datum_2 = profiling.ProfileDatum( 47 self.profile_datum_3 = profiling.ProfileDatum( 55 self.profile_datum_4 = profiling.ProfileDatum( 59 aggregate_data = profiling.AggregateProfile(self.profile_datum_1) 67 aggregate_data = profiling.AggregateProfile(self.profile_datum_1) 76 aggregate_data = profiling.AggregateProfile(self.profile_datum_1) 86 aggregate_data = profiling.AggregateProfile(self.profile_datum_1)
|
| /external/executorch/profiler/ |
| D | parse_profiler_results.py | 21 # unpack the binary data to derive the profiling results. 42 # log various forms of profiling data. 78 profiling data retrieved from the runtime. If there are multiple 79 blocks of profiling data resulting from iterations of the same code 135 # Iterate through all the profiling blocks data that have been grouped by name. 139 # Each entry in data_list is a tuple in which the first entry is profiling data 196 # Profiling blocks corresponding to the same name should always be of the same 201 … "Profiling blocks corresponding to the same name shouldn't be of different lengths." 208 "profiling block do not match" 216 … "Memory profiling blocks corresponding to the same name shouldn't be of different lengths." [all …]
|
| /external/executorch/runtime/platform/ |
| D | profiler.h | 22 // By default we support profiling upto 1024 perf events. Build 23 // targets can override this to increase the profiling buffer size 28 // By default we support profiling upto 1024 memory allocation events. 30 // the effect of increasing/decreasing the profiling buffer size. 34 // By default we support profiling only upto 16 allocators. If users 36 // compilation time. There will be an increase/decrease in the profiling 41 // By default we support only one profiling block. If users want to profile 92 This is what the layout of the profiling buffer looks like. 94 | Profiling header | 104 // offsets of the various sections in the profiling buffer [all …]
|
| /external/armnn/src/profiling/test/ |
| D | ProfilingTests.cpp | 27 #include <armnn/profiling/ArmNNProfiling.hpp> 172 // This should start the command handler thread return the connection ack and put the profiling 343 // Hard code the version as it will be the same during a single profiling session 402 // Hard code the version as it will be the same during a single profiling session 702 // Reset the profiling service to stop any running thread 816 // Reset the profiling service to stop any running thread 1211 counterDirectory.RegisterCounter(armnn::profiling::BACKEND_ID, 1224 CHECK_THROWS_AS(noCounter = counterDirectory.RegisterCounter(armnn::profiling::BACKEND_ID, 1237 CHECK_THROWS_AS(noCounter = counterDirectory.RegisterCounter(armnn::profiling::BACKEND_ID, 1251 CHECK_THROWS_AS(noCounter = counterDirectory.RegisterCounter(armnn::profiling::BACKEND_ID, [all …]
|
| /external/google-cloud-java/java-profiler/proto-google-cloud-profiler-v2/src/main/java/com/google/devtools/cloudprofiler/v2/ |
| D | ProfileOrBuilder.java | 119 * Duration of the profiling session. 121 * The field represents requested profiling duration. It may slightly differ 122 * from the effective profiling duration, which is recorded in the profile 123 * data, in case the profiling can't be stopped immediately (e.g. in case 124 * stopping the profiling is handled asynchronously). 136 * Duration of the profiling session. 138 * The field represents requested profiling duration. It may slightly differ 139 * from the effective profiling duration, which is recorded in the profile 140 * data, in case the profiling can't be stopped immediately (e.g. in case 141 * stopping the profiling is handled asynchronously). [all …]
|
| /external/armnn/profiling/client/include/ |
| D | ProfilingOptions.hpp | 26 /// Indicates whether external profiling is enabled or not. 28 /// Indicates whether external timeline profiling is enabled or not. 30 /// Path to a file in which outgoing timeline profiling messages will be stored. 32 /// Path to a file in which incoming timeline profiling messages will be stored. 34 /// Enable profiling output to file only. 36 /// The duration at which captured profiling messages will be flushed. 38 /// The format of the file used for outputting profiling data.
|
| /external/tensorflow/tensorflow/python/eager/ |
| D | profiler.py | 21 - On-demand Mode: start_profiler_server(). It will perform profiling when 22 receive profiling request. 28 profiling. Before enabling customized profiling, set the callback flag 29 "profile_batches=[]" to disable automatic sampled profiling. 30 customized profiling. 64 """Start profiling. 70 ProfilerAlreadyRunningError: If another profiling session is running. 90 """Stop current profiling session and return its result. 97 ProfilerNotRunningError: If there is no active profiling session. 104 'Cannot stop profiling. No profiler is running.') [all …]
|
| /external/armnn/profiling/client/src/ |
| D | ProfilingService.cpp | 30 // Update the profiling options in ResetExternalProfilingOptions() 35 // Check if the profiling service needs to be reset in ResetExternalProfilingOptions() 38 // Reset the profiling service in ResetExternalProfilingOptions() 94 // Make sure profiling is shutdown in ConfigureProfilingService() 117 // Don't run if profiling is disabled in Update() 126 // Initialize the profiling service in Update() 142 // Reset any existing profiling connection in Update() 147 // Setup the profiling connection in Update() 153 … ARM_PIPE_LOG(warning) << "An error has occurred when creating the profiling connection: " in Update() 158 … ARM_PIPE_LOG(warning) << "An error has occurred when creating the profiling connection [" in Update() [all …]
|