/aosp_15_r20/external/tensorflow/tensorflow/core/profiler/convert/ |
H A D | BUILD | 3 load("//tensorflow/core/profiler/builds:build_config.bzl", "tf_profiler_copts", "tf_profiler_pybind… 6 default_visibility = ["//tensorflow/core/profiler:internal"], 20 "//tensorflow/core/profiler/protobuf:op_metrics_proto_cc", 21 "//tensorflow/core/profiler/protobuf:xplane_proto_cc", 22 "//tensorflow/core/profiler/utils:cost_utils", 23 "//tensorflow/core/profiler/utils:op_metrics_db_utils", 24 "//tensorflow/core/profiler/utils:op_utils", 25 "//tensorflow/core/profiler/utils:tf_op_utils", 26 "//tensorflow/core/profiler/utils:tf_xplane_visitor", 27 "//tensorflow/core/profiler/utils:timespan", [all …]
|
H A D | xplane_to_tools_data.cc | 16 #include "tensorflow/core/profiler/convert/xplane_to_tools_data.h" 27 #include "tensorflow/core/profiler/convert/hlo_to_tools_data.h" 28 #include "tensorflow/core/profiler/convert/op_stats_to_input_pipeline_analysis.h" 29 #include "tensorflow/core/profiler/convert/op_stats_to_op_profile.h" 30 #include "tensorflow/core/profiler/convert/op_stats_to_overview_page.h" 31 #include "tensorflow/core/profiler/convert/op_stats_to_pod_viewer.h" 32 #include "tensorflow/core/profiler/convert/op_stats_to_tf_stats.h" 33 #include "tensorflow/core/profiler/convert/tool_options.h" 34 #include "tensorflow/core/profiler/convert/xplane_to_hlo.h" 35 #include "tensorflow/core/profiler/convert/xplane_to_memory_profile.h" [all …]
|
/aosp_15_r20/hardware/google/camera/common/hal/utils/profiling/ |
D | aidl_profiler.cc | 30 #include "profiler.h" 38 using ::google::camera_common::Profiler; 42 "persist.vendor.camera.profiler.open_close"; 44 constexpr char kPropKeyProfileFps[] = "persist.vendor.camera.profiler.fps"; 46 "persist.vendor.camera.profiler.reprocess"; 63 std::unique_ptr<google::camera_common::Profiler> custom_latency_profiler, in MakeScopedProfiler() 64 std::unique_ptr<google::camera_common::Profiler> custom_fps_profiler) in MakeScopedProfiler() 80 [type](const auto& profiler) { in MakeScopedProfiler() argument 81 return profiler->ShouldDelete(type); in MakeScopedProfiler() 121 ALOGW("%s: Error: no profiler accepted First Frame Start", __FUNCTION__); in FirstFrameStart() [all …]
|
/aosp_15_r20/external/google-cloud-java/java-profiler/ |
H A D | CHANGELOG.md | 3 …m/googleapis/google-cloud-java/compare/google-cloud-profiler-v2.4.1-SNAPSHOT...google-cloud-profil… 24 …ub.com/googleapis/google-cloud-java/compare/google-cloud-profiler-v2.3.5...google-cloud-profiler-v… 45 ## [2.3.5](https://github.com/googleapis/java-profiler/compare/v2.3.4...v2.3.5) (2022-10-05) 50 * update protobuf to v3.21.7 ([8c287c4](https://github.com/googleapis/java-profiler/commit/8c287c43… 52 ## [2.3.4](https://github.com/googleapis/java-profiler/compare/v2.3.3...v2.3.4) (2022-10-05) 57 …3](https://github.com/googleapis/java-profiler/issues/313)) ([23fc308](https://github.com/googleap… 59 ## [2.3.3](https://github.com/googleapis/java-profiler/compare/v2.3.2...v2.3.3) (2022-09-15) 64 …3](https://github.com/googleapis/java-profiler/issues/303)) ([b22061a](https://github.com/googleap… 66 ## [2.3.2](https://github.com/googleapis/java-profiler/compare/v2.3.1...v2.3.2) (2022-09-09) 71 …8](https://github.com/googleapis/java-profiler/issues/298)) ([3e68b24](https://github.com/googleap… [all …]
|
/aosp_15_r20/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/ |
D | dic_node_profiler.h | 23 #define PROF_SPACE_SUBSTITUTION(profiler) profiler.profSpaceSubstitution() argument 24 #define PROF_SPACE_OMISSION(profiler) profiler.profSpaceOmission() argument 25 #define PROF_ADDITIONAL_PROXIMITY(profiler) profiler.profAdditionalProximity() argument 26 #define PROF_SUBSTITUTION(profiler) profiler.profSubstitution() argument 27 #define PROF_OMISSION(profiler) profiler.profOmission() argument 28 #define PROF_INSERTION(profiler) profiler.profInsertion() argument 29 #define PROF_MATCH(profiler) profiler.profMatch() argument 30 #define PROF_COMPLETION(profiler) profiler.profCompletion() argument 31 #define PROF_TRANSPOSITION(profiler) profiler.profTransposition() argument 32 #define PROF_NEARESTKEY(profiler) profiler.profNearestKey() argument [all …]
|
/aosp_15_r20/out/soong/.intermediates/external/tensorflow/tensorflow_core_proto_cpp_lite/android_arm64_armv8-2a_cortex-a55_static_apex33/gen/proto/tensorflow/core/profiler/protobuf/ |
D | xplane.pb.h | 2 // source: tensorflow/core/profiler/protobuf/xplane.proto 49 namespace profiler { 77 } // namespace profiler 80 template<> ::tensorflow::profiler::XEvent* Arena::CreateMaybeMessage<::tensorflow::profiler::XEvent… 81 template<> ::tensorflow::profiler::XEventMetadata* Arena::CreateMaybeMessage<::tensorflow::profiler… 82 template<> ::tensorflow::profiler::XLine* Arena::CreateMaybeMessage<::tensorflow::profiler::XLine>(… 83 template<> ::tensorflow::profiler::XPlane* Arena::CreateMaybeMessage<::tensorflow::profiler::XPlane… 84 template<> ::tensorflow::profiler::XPlane_EventMetadataEntry_DoNotUse* Arena::CreateMaybeMessage<::… 85 template<> ::tensorflow::profiler::XPlane_StatMetadataEntry_DoNotUse* Arena::CreateMaybeMessage<::t… 86 template<> ::tensorflow::profiler::XSpace* Arena::CreateMaybeMessage<::tensorflow::profiler::XSpace… [all …]
|
D | xplane.pb.cc | 2 // source: tensorflow/core/profiler/protobuf/xplane.proto 4 #include "tensorflow/core/profiler/protobuf/xplane.pb.h" 22 namespace profiler { namespace 164 } // namespace profiler 167 namespace profiler { namespace 179 // @@protoc_insertion_point(arena_constructor:tensorflow.profiler.XSpace) in XSpace() 192 // @@protoc_insertion_point(copy_constructor:tensorflow.profiler.XSpace) in XSpace() 209 // @@protoc_insertion_point(destructor:tensorflow.profiler.XSpace) in ~XSpace() 230 // @@protoc_insertion_point(message_clear_start:tensorflow.profiler.XSpace) in Clear() 248 // repeated .tensorflow.profiler.XPlane planes = 1; in _InternalParse() [all …]
|
/aosp_15_r20/external/pytorch/torch/profiler/ |
H A D | profiler.py | 15 import torch.autograd.profiler as prof 25 from torch.profiler._memory_profiler import MemoryProfile, MemoryProfileTimeline 41 Returns a set of supported profiler tracing activities. 43 Note: profiler uses CUPTI library to trace on-device CUDA kernels. 45 ``ProfilerActivity.CUDA`` to profiler results in using the legacy CUDA 46 profiling code (same as in the legacy ``torch.autograd.profiler``). 47 This, in turn, results in including CUDA time in the profiler table output, 71 """Low-level profiler wrap the autograd profile 75 ``torch.profiler.ProfilerActivity.CPU``, ``torch.profiler.ProfilerActivity.CUDA``, 76 ``torch.profiler.ProfilerActivity.XPU``. [all …]
|
/aosp_15_r20/external/pytorch/test/cpp/profiler/ |
H A D | perf_events.cpp | 4 #include <torch/csrc/profiler/events.h> 5 #include <torch/csrc/profiler/perf.h> 16 torch::profiler::impl::linux_perf::PerfProfiler profiler; in TEST() local 19 std::begin(torch::profiler::ProfilerPerfEvents), in TEST() 20 std::end(torch::profiler::ProfilerPerfEvents)); in TEST() 21 torch::profiler::perf_counters_t counters; in TEST() 27 profiler.Configure(standard_events); in TEST() 29 profiler.Enable(); in TEST() 31 profiler.Disable(counters); in TEST() 55 torch::profiler::impl::linux_perf::PerfProfiler profiler; in TEST() local [all …]
|
/aosp_15_r20/external/tensorflow/tensorflow/python/profiler/ |
H A D | option_builder.py | 15 """Utilities for building profiler options.""" 18 from tensorflow.python.profiler import tfprof_logger 22 @tf_export(v1=['profiler.ProfileOptionBuilder']) 28 https://github.com/tensorflow/tensorflow/tree/master/tensorflow/core/profiler/g3doc/options.md 33 tf.profiler.ProfileOptionBuilder.trainable_variables_parameter()) 36 opts = (tf.compat.v1.profiler.ProfileOptionBuilder() 44 opts = (tf.compat.v1.profiler.ProfileOptionBuilder( 45 tf.profiler.ProfileOptionBuilder.time_and_memory()) 50 _ = tf.compat.v1.profiler.profile(tf.compat.v1.get_default_graph(), 115 …Please see https://github.com/tensorflow/tensorflow/tree/master/tensorflow/core/profiler/g3doc/pro… [all …]
|
H A D | profiler_v2.py | 15 """TensorFlow 2.x Profiler. 17 The profiler has two modes: 18 - Programmatic Mode: start(logdir), stop(), and Profiler class. Profiling starts 19 when calling start(logdir) or create a Profiler class. 21 TensorBoard logdir or destroying the Profiler class. 25 NOTE: Only one active profiler session is allowed. Use of simultaneous 38 from tensorflow.python.profiler.internal import _pywrap_profiler 45 @tf_export('profiler.experimental.ProfilerOptions', v1=[]) 51 """Options for finer control over the profiler. 53 Use `tf.profiler.experimental.ProfilerOptions` to control `tf.profiler` [all …]
|
/aosp_15_r20/external/tensorflow/tensorflow/core/profiler/backends/cpu/ |
H A D | BUILD | 4 load("//tensorflow/core/profiler/builds:build_config.bzl", "tf_profiler_copts") 19 "//tensorflow/core/profiler/protobuf:xplane_proto_cc", 20 "//tensorflow/core/profiler/utils:parse_annotation", 21 "//tensorflow/core/profiler/utils:tf_op_utils", 22 "//tensorflow/core/profiler/utils:xplane_builder", 23 "//tensorflow/core/profiler/utils:xplane_utils", 33 "//tensorflow/core/profiler:profiler_options_proto_cc", 34 "//tensorflow/core/profiler/lib:profiler_factory", 44 visibility = ["//tensorflow/core/profiler:internal"], 49 "//tensorflow/core/profiler/lib:profiler_interface", [all …]
|
/aosp_15_r20/external/slf4j/slf4j-ext/src/test/java/org/slf4j/profiler/ |
H A D | ProfilerTest.java | 25 package org.slf4j.profiler; 41 Profiler profiler = new Profiler("SMOKE"); in testSmoke() local 42 profiler.stop(); in testSmoke() 43 StopWatch gSW = profiler.globalStopWatch; in testSmoke() 46 profiler.sanityCheck(); in testSmoke() 48 assertEquals(0, profiler.childTimeInstrumentList.size()); in testSmoke() 49 assertNull(profiler.getLastTimeInstrument()); in testSmoke() 54 Profiler profiler = new Profiler("BAS"); in testBasicProfiling() local 56 profiler.start("doX"); in testBasicProfiling() 59 profiler.start("doY"); in testBasicProfiling() [all …]
|
/aosp_15_r20/hardware/google/camera/common/profiler/ |
D | profiler.h | 30 // The goal of the Profiler is to profile the performance of camemra pipeline. 32 // The profiler prints out the result when the Profiler obejct is deconstructed. 35 // - To disable the profiler: 36 // $ adb shell setprop persist.vendor.camera.profiler 0 38 // $ adb shell setprop persist.vendor.camera.profiler 1 39 // - To dump the profiling result to "/data/vendor/camera/profiler": 40 // $ adb shell setprop persist.vendor.camera.profiler 2 41 // - To print and dump the profiling result to "/data/vendor/camera/profiler": 42 // $ adb shell setprop persist.vendor.camera.profiler 3 44 // Option 0 (kDisable): Disable Profiler [all …]
|
/aosp_15_r20/external/tensorflow/tensorflow/lite/core/api/ |
H A D | profiler.h | 23 class Profiler { 25 // As certain Profiler instance might be only interested in certain event 26 // types, we define each event type value to allow a Profiler to use 52 // See experimental/telemetry:profiler for definition of each metadata. 64 virtual ~Profiler() {} in ~Profiler() 68 // interpretations based on the actual Profiler instance and the `event_type`. 107 // Adds a profiler event. 111 // event types. If the concrete profiler does not provide an implementation, 117 // Adds a profiler event with data. 120 // If the concrete profiler does not provide an implementation, does nothing. [all …]
|
/aosp_15_r20/external/tensorflow/tensorflow/lite/profiling/ |
H A D | profiler_test.cc | 15 #include "tensorflow/lite/profiling/profiler.h" 34 void SleepForQuarterSecond(tflite::Profiler* profiler) { in SleepForQuarterSecond() argument 35 ScopedProfile profile(profiler, "SleepForQuarter"); in SleepForQuarterSecond() 39 void ChildFunction(tflite::Profiler* profiler) { in ChildFunction() argument 40 ScopedProfile profile(profiler, "Child"); in ChildFunction() 41 SleepForQuarterSecond(profiler); in ChildFunction() 44 void ParentFunction(tflite::Profiler* profiler) { in ParentFunction() argument 45 ScopedProfile profile(profiler, "Parent"); in ParentFunction() 47 ChildFunction(profiler); in ParentFunction() 52 BufferedProfiler profiler(1024); in TEST() local [all …]
|
/aosp_15_r20/external/pytorch/test/profiler/ |
H A D | test_profiler_tree.py | 1 # Owner(s): ["oncall: profiler"] 33 "torch/profiler/profiler.py(...): start": KEEP_ELLIPSES, 34 "torch/profiler/profiler.py(...): stop_trace": KEEP_ELLIPSES, 35 "torch/profiler/profiler.py(...): _transit_action": KEEP_ELLIPSES, 43 # ROCTracer is currently not producing events that profiler can extract. We 44 # should bring it up to parity with CUPTI Kineto / profiler integration, but in 108 def format(cls, profiler, indent: int = 0): argument 131 flat_nodes = flatten(profiler.kineto_results.experimental_event_tree()) 133 # Profiler inserts a `cudaDeviceSynchronize` at the end of profiling. 141 # Profiler inserts a `hipDeviceSynchronize` at the end of profiling. [all …]
|
/aosp_15_r20/external/pytorch/torch/csrc/autograd/ |
H A D | profiler_kineto.cpp | 12 #include <torch/csrc/profiler/api.h> 13 #include <torch/csrc/profiler/collection.h> 14 #include <torch/csrc/profiler/containers.h> 15 #include <torch/csrc/profiler/events.h> 16 #include <torch/csrc/profiler/kineto_shim.h> 17 #include <torch/csrc/profiler/orchestration/observer.h> 18 #include <torch/csrc/profiler/perf.h> 19 #include <torch/csrc/profiler/standalone/itt_observer.h> 20 #include <torch/csrc/profiler/standalone/nvtx_observer.h> 21 #include <torch/csrc/profiler/standalone/privateuse1_observer.h> [all …]
|
H A D | profiler_legacy.cpp | 25 namespace torch::autograd::profiler { namespace 27 // We decompose the profiler logic into the following components: 52 // We use ThreadLocalDebugInfo (slot PROFILER_STATE) to store profiler config, 55 // profiler (i.e. enter profiling context manager/call enableConfig) and 64 // by the nested profiler) 79 // Profiler uses ThreadLocalState to propagate profiler's thread local state. 80 // ThreadLocalState also automatically propagates profiler callbacks. 85 // Profiler uses observers mechanism to add a pair of thread local callbacks 91 // Profiler setups a pair of callbacks that record profiling events and save 92 // them into the thread local profiler struct (ThreadLocalDebugInfo, [all …]
|
H A D | profiler_kineto.h | 6 #include <torch/csrc/profiler/api.h> 7 #include <torch/csrc/profiler/events.h> 8 #include <torch/csrc/profiler/stubs/base.h> 9 #include <torch/csrc/profiler/util.h> 13 namespace profiler::impl { 18 } // namespace profiler::impl 20 namespace autograd::profiler { 21 using experimental_event_t = std::shared_ptr<torch::profiler::impl::Result>; 26 const std::shared_ptr<const torch::profiler::impl::Result>&, 64 void getPerfEventCounters(torch::profiler::perf_counters_t&) const; [all …]
|
/aosp_15_r20/external/armnn/src/armnn/test/ |
H A D | ProfilerTests.cpp | 20 size_t GetProfilerEventSequenceSize(armnn::IProfiler* profiler) in GetProfilerEventSequenceSize() argument 22 if (!profiler) in GetProfilerEventSequenceSize() 27 return profiler->pProfilerImpl->m_EventSequence.size(); in GetProfilerEventSequenceSize() 39 // Get a reference to the profiler manager. in RegisterUnregisterProfilerSingleThreadImpl() 42 // Check that there's no profiler registered for this thread. in RegisterUnregisterProfilerSingleThreadImpl() 45 // Create and register a profiler for this thread. in RegisterUnregisterProfilerSingleThreadImpl() 46 std::unique_ptr<armnn::IProfiler> profiler = std::make_unique<armnn::IProfiler>(); in RegisterUnregisterProfilerSingleThreadImpl() local 47 profilerManager.RegisterProfiler(profiler.get()); in RegisterUnregisterProfilerSingleThreadImpl() 49 // Check that on a single thread we get the same profiler we registered. in RegisterUnregisterProfilerSingleThreadImpl() 50 res &= profiler.get() == profilerManager.GetProfiler(); in RegisterUnregisterProfilerSingleThreadImpl() [all …]
|
/aosp_15_r20/external/tensorflow/tensorflow/python/eager/ |
H A D | profiler.py | 15 """TensorFlow 2.0 Profiler for both Eager Mode and Graph Mode. 17 The profiler has two mode: 18 - Programmatic Mode: start(), stop() and Profiler class. It will perform 19 when calling start() or create Profiler class and will stop 20 when calling stop() or destroying Profiler class. 24 NOTE: Only one active profiler session is allowed. Use of simultaneous 42 from tensorflow.python.profiler.internal import _pywrap_profiler 50 # tensorflow/core/profiler/rpc/client/capture_profile.cc. 62 @deprecated('2020-07-01', 'use `tf.profiler.experimental.start` instead.') 67 options: profiler options. [all …]
|
/aosp_15_r20/external/tensorflow/tensorflow/core/profiler/internal/ |
H A D | BUILD | 26 "//tensorflow/core/profiler:protos_all_cc", 27 "//tensorflow/core/profiler:tfprof_options", 56 "//tensorflow/core/profiler:protos_all_cc", 57 "//tensorflow/core/profiler:tfprof_options", 75 "//tensorflow/core/profiler:protos_all_cc", 76 "//tensorflow/core/profiler:tfprof_options", 93 "//tensorflow/core/profiler:protos_all_cc", 94 "//tensorflow/core/profiler:tfprof_options", 113 "//tensorflow/core/profiler:protos_all_cc", 114 "//tensorflow/core/profiler:tfprof_options", [all …]
|
/aosp_15_r20/external/tensorflow/tensorflow/core/profiler/utils/ |
H A D | BUILD | 4 load("//tensorflow/core/profiler/builds:build_config.bzl", "tf_profiler_copts", "tf_profiler_xla_pr… 7 default_visibility = ["//tensorflow/core/profiler:internal"], 14 "//tensorflow/core/profiler:friends", 25 "//tensorflow/core/profiler/protobuf:diagnostics_proto_cc", 26 "//tensorflow/core/profiler/protobuf:op_stats_proto_cc", 27 "//tensorflow/core/profiler/protobuf:steps_db_proto_cc", 42 "//tensorflow/core/profiler/protobuf:op_metrics_proto_cc", 43 "//tensorflow/core/profiler/protobuf:steps_db_proto_cc", 58 "//tensorflow/core/profiler/protobuf:hardware_types_proto_cc", 93 "//tensorflow/core/profiler/protobuf:op_metrics_proto_cc", [all …]
|
/aosp_15_r20/external/cronet/base/profiler/ |
H A D | stack_sampling_profiler_unittest.cc | 23 #include "base/profiler/profiler_buildflags.h" 24 #include "base/profiler/sample_metadata.h" 25 #include "base/profiler/stack_sampler.h" 26 #include "base/profiler/stack_sampling_profiler.h" 27 #include "base/profiler/stack_sampling_profiler_test_util.h" 28 #include "base/profiler/unwinder.h" 111 // TestProfileBuilder collects samples produced by the profiler. 232 profiler(thread_token, in TestProfilerInfo() 251 StackSamplingProfiler profiler; member 255 // them. Waits up to |profiler_wait_time| for the profiler to complete. [all …]
|