/external/tensorflow/tensorflow/core/profiler/convert/ |
D | BUILD | 4 default_visibility = ["//tensorflow/core/profiler:internal"], 17 "//tensorflow/core/profiler/protobuf:op_metrics_proto_cc", 18 "//tensorflow/core/profiler/protobuf:xplane_proto_cc", 19 "//tensorflow/core/profiler/utils:event_span", 20 "//tensorflow/core/profiler/utils:op_utils", 21 "//tensorflow/core/profiler/utils:tf_op_utils", 22 "//tensorflow/core/profiler/utils:tf_xplane_visitor", 23 "//tensorflow/core/profiler/utils:timespan", 24 "//tensorflow/core/profiler/utils:trace_utils", 38 "//tensorflow/core/profiler/protobuf:op_metrics_proto_cc", [all …]
|
/external/slf4j/slf4j-ext/src/test/java/org/slf4j/profiler/ |
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() 53 Profiler profiler = new Profiler("BAS"); in testBasicProfiling() local 55 profiler.start("doX"); in testBasicProfiling() 58 profiler.start("doY"); in testBasicProfiling() [all …]
|
D | NestedProfilerDemo2.java | 25 package org.slf4j.profiler; 44 Profiler profiler = new Profiler("DEMO"); in main() local 46 profiler.setLogger(logger); in main() 49 profiler.registerWith(profilerRegistry); in main() 51 profiler.start("RANDOM"); in main() 56 profiler.startNested(SortAndPruneComposites.NESTED_PROFILER_NAME); in main() 62 profiler.stop().log(); in main()
|
D | BasicProfilerDemo.java | 25 package org.slf4j.profiler; 57 Profiler profiler = new Profiler("BASIC"); in main() local 58 profiler.start("A"); in main() 61 profiler.start("B"); in main() 64 profiler.start("OTHER"); in main() 66 profiler.stop().print(); in main()
|
/external/tensorflow/tensorflow/lite/profiling/ |
D | profiler_test.cc | 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 53 ParentFunction(&profiler); in TEST() [all …]
|
D | profile_summarizer_test.cc | 106 BufferedProfiler profiler(1024); in TEST() local 110 interpreter->SetProfiler(&profiler); in TEST() 111 profiler.StartProfiling(); in TEST() 116 profiler.StopProfiling(); in TEST() 118 auto events = profiler.GetProfileEvents(); in TEST() 120 summarizer.ProcessProfiles(profiler.GetProfileEvents(), *interpreter); in TEST() 127 BufferedProfiler profiler(1024); in TEST() local 131 interpreter->SetProfiler(&profiler); in TEST() 132 profiler.StartProfiling(); in TEST() 137 profiler.StopProfiling(); in TEST() [all …]
|
/external/tensorflow/tensorflow/core/profiler/lib/ |
D | profiler_session.cc | 39 const profiler::ProfilerOptions& options) { in Create() 50 profiler::ProfilerOptions options; in Create() 60 Status ProfilerSession::CollectData(profiler::XSpace* space) { in CollectData() 63 for (auto& profiler : profilers_) { in CollectData() local 64 profiler->Stop().IgnoreError(); in CollectData() 67 for (auto& profiler : profilers_) { in CollectData() local 68 profiler->CollectData(space).IgnoreError(); in CollectData() 74 profiler::ReleaseProfilerLock(); in CollectData() 85 for (auto& profiler : profilers_) { in CollectData() local 86 profiler->Stop().IgnoreError(); in CollectData() [all …]
|
D | BUILD | 23 "//tensorflow/core/profiler/internal:profiler_interface", 24 "//tensorflow/core/profiler/internal:profiler_factory", 25 "//tensorflow/core/profiler/protobuf:xplane_proto_cc", 30 "//tensorflow/core/profiler/convert:xplane_to_trace_events", 31 "//tensorflow/core/profiler/utils:group_events", 39 "//tensorflow/core/profiler/internal/gpu:device_tracer", 43 "//tensorflow/core/profiler/internal/cpu:host_tracer", 66 "//tensorflow/core/profiler/internal:traceme_recorder", 90 "//tensorflow/core/profiler/internal:annotation_stack", 99 visibility = ["//tensorflow/core/profiler:internal"],
|
/external/tensorflow/tensorflow/core/profiler/rpc/ |
D | profiler_service_impl.cc | 49 profiler::HardwareType HardwareTypeFromRunEnvironment( in HardwareTypeFromRunEnvironment() 50 const profiler::RunEnvironment& run_env) { in HardwareTypeFromRunEnvironment() 51 if (run_env.device_type() == "GPU") return profiler::HardwareType::GPU; in HardwareTypeFromRunEnvironment() 52 if (run_env.device_type() == "CPU") return profiler::HardwareType::CPU_ONLY; in HardwareTypeFromRunEnvironment() 53 return profiler::HardwareType::UNKNOWN_HARDWARE; in HardwareTypeFromRunEnvironment() 70 ProfilerSession* profiler, uint64 start_time_ns, in CollectDataToResponse() argument 72 profiler::XSpace xspace; in CollectDataToResponse() 73 TF_RETURN_IF_ERROR(profiler->CollectData(&xspace)); in CollectDataToResponse() 77 profiler::Trace trace; in CollectDataToResponse() 78 profiler::ConvertXSpaceToTraceEvents(start_time_ns, end_time_ns, xspace, in CollectDataToResponse() [all …]
|
D | BUILD | 15 "//tensorflow/core/profiler:profiler_service_proto_cc", 16 "//tensorflow/core/profiler/convert:op_stats_to_input_pipeline_analysis", 17 "//tensorflow/core/profiler/convert:op_stats_to_overview_page", 18 "//tensorflow/core/profiler/convert:op_stats_to_tf_stats", 19 "//tensorflow/core/profiler/convert:xplane_to_op_stats", 20 "//tensorflow/core/profiler/convert:xplane_to_trace_events", 21 "//tensorflow/core/profiler/lib:profiler_session", 22 "//tensorflow/core/profiler/protobuf:hardware_types_proto_cc", 23 "//tensorflow/core/profiler/protobuf:input_pipeline_proto_cc", 24 "//tensorflow/core/profiler/protobuf:op_stats_proto_cc", [all …]
|
/external/tensorflow/tensorflow/core/profiler/internal/cpu/ |
D | BUILD | 12 visibility = ["//tensorflow/core/profiler:friends"], 15 "//tensorflow/core/profiler/internal:parse_annotation", 16 "//tensorflow/core/profiler/internal:traceme_recorder", 17 "//tensorflow/core/profiler/protobuf:xplane_proto_cc", 18 "//tensorflow/core/profiler/utils:xplane_builder", 32 "//tensorflow/core/profiler/internal:profiler_factory", 33 "//tensorflow/core/profiler/internal:profiler_interface", 34 "//tensorflow/core/profiler/internal:traceme_recorder", 35 "//tensorflow/core/profiler/protobuf:xplane_proto_cc", 36 "//tensorflow/core/profiler/utils:xplane_schema", [all …]
|
/external/python/cpython2/Lib/test/ |
D | test_hotshot.py | 65 def run_test(self, callable, events, profiler=None): argument 66 if profiler is None: 67 profiler = self.new_profiler() 68 self.assertTrue(not profiler._prof.closed) 69 profiler.runcall(callable) 70 self.assertTrue(not profiler._prof.closed) 71 profiler.close() 72 self.assertTrue(profiler._prof.closed) 78 profiler = self.new_profiler() 79 profiler.runcall(f, profiler) [all …]
|
/external/tensorflow/tensorflow/lite/core/api/ |
D | profiler.h | 63 ScopedProfile(Profiler* profiler, const char* tag, 66 : profiler_(profiler), event_handle_(0) { in profiler_() argument 67 if (profiler) { in profiler_() 85 ScopedOperatorProfile(Profiler* profiler, const char* tag, int node_index) in ScopedOperatorProfile() argument 86 : ScopedProfile(profiler, tag, Profiler::EventType::OPERATOR_INVOKE_EVENT, in ScopedOperatorProfile() 92 ScopedDelegateOperatorProfile(Profiler* profiler, const char* tag, in ScopedDelegateOperatorProfile() argument 94 : ScopedProfile(profiler, tag, in ScopedDelegateOperatorProfile() 103 #define TFLITE_SCOPED_TAGGED_DEFAULT_PROFILE(profiler, tag) \ argument 105 (profiler), (tag)) 107 #define TFLITE_SCOPED_TAGGED_OPERATOR_PROFILE(profiler, tag, node_index) \ argument [all …]
|
/external/tensorflow/tensorflow/core/profiler/internal/gpu/ |
D | BUILD | 29 "//tensorflow/core/profiler/internal/gpu:cupti_tracer", 30 "//tensorflow/core/profiler/internal/gpu:cupti_wrapper", 37 "//tensorflow/core/profiler/internal:annotation_stack", 38 "//tensorflow/core/profiler/internal:parse_annotation", 39 "//tensorflow/core/profiler/internal:profiler_factory", 40 "//tensorflow/core/profiler/internal:profiler_interface", 41 "//tensorflow/core/profiler/lib:traceme", 42 "//tensorflow/core/profiler/protobuf:xplane_proto_cc", 43 "//tensorflow/core/profiler/utils:xplane_builder", 44 "//tensorflow/core/profiler/utils:xplane_schema", [all …]
|
/external/tensorflow/tensorflow/python/profiler/ |
D | profiler_test.py | 28 from tensorflow.python.profiler import option_builder 31 from tensorflow.python.profiler import model_analyzer 32 from tensorflow.python.profiler.internal import model_analyzer_testlib as lib 61 profiler = model_analyzer.Profiler(sess.graph) 62 profiler.add_step(1, run_meta) 63 profiler.profile_graph(opts) 73 profiler.profile_name_scope(opts) 83 profiler.profile_python(opts) 93 profiler.profile_operations(opts) 117 profiler = model_analyzer.Profiler(sess.graph) [all …]
|
D | profiler.py | 22 from tensorflow.core.profiler.tfprof_log_pb2 import OpLogProto 23 from tensorflow.core.profiler.tfprof_output_pb2 import AdviceProto 24 from tensorflow.core.profiler.tfprof_output_pb2 import GraphNodeProto 25 from tensorflow.core.profiler.tfprof_output_pb2 import MultiGraphNodeProto 27 from tensorflow.python.profiler.model_analyzer import advise 28 from tensorflow.python.profiler.model_analyzer import profile 29 from tensorflow.python.profiler.model_analyzer import Profiler 30 from tensorflow.python.profiler.option_builder import ProfileOptionBuilder 31 from tensorflow.python.profiler.tfprof_logger import write_op_log
|
/external/tensorflow/tensorflow/core/profiler/internal/ |
D | BUILD | 26 "//tensorflow/core/profiler:protos_all_cc", 27 "//tensorflow/core/profiler:tfprof_options", 57 "//tensorflow/core/profiler:protos_all_cc", 58 "//tensorflow/core/profiler:tfprof_options", 79 "//tensorflow/core/profiler:protos_all_cc", 80 "//tensorflow/core/profiler:tfprof_options", 99 "//tensorflow/core/profiler:protos_all_cc", 100 "//tensorflow/core/profiler:tfprof_options", 123 "//tensorflow/core/profiler:protos_all_cc", 124 "//tensorflow/core/profiler:tfprof_options", [all …]
|
/external/autotest/client/bin/ |
D | profilers.py | 8 def load_profiler(self, profiler, args, dargs): argument 9 prof_dir = os.path.join(self.job.autodir, "profilers", profiler) 12 self.job.install_pkg(profiler, "profiler", prof_dir) 17 raise profiler_manager.ProfilerNotPresentError(profiler) 20 profiler, "autotest_lib.client.profilers.%s" % profiler) 22 newprofiler = getattr(profiler_module, profiler)(self.job) 24 newprofiler.name = profiler 27 newprofiler.tmpdir = os.path.join(self.tmpdir, profiler)
|
/external/tensorflow/tensorflow/core/profiler/ |
D | BUILD | 17 "//tensorflow/core/profiler/...", 19 "//tensorflow/python/profiler/...", 20 "//tensorflow/python/tpu/profiler/...", 76 # Libraries and binaries of TensorFlow profiler 1.x. 78 name = "profiler", 79 srcs = ["profiler.cc"], 89 "//tensorflow/core/profiler:tfprof_options", 90 "//tensorflow/core/profiler/internal:tfprof_stats", 91 "//tensorflow/core/profiler/internal:tfprof_utils", 92 "//tensorflow/core/profiler/internal/advisor:tfprof_advisor", [all …]
|
/external/tensorflow/tensorflow/core/profiler/g3doc/ |
D | python_api.md | 14 ProfileOptionBuilder = tf.profiler.ProfileOptionBuilder 16 param_stats = tf.profiler.profile( 25 param_stats = tf.profiler.profile( 42 tf.profiler.profile( 44 options=tf.profiler.ProfileOptionBuilder.float_operation()) 56 # computation is then run asynchronously. The profiler considers 3 67 Finally, you may run `tf.profiler.profile` to explore the timing and memory 73 ProfileOptionBuilder = tf.profiler.ProfileOptionBuilder 77 tf.profiler.profile( 85 tf.profiler.profile( [all …]
|
/external/libchrome/base/sampling_heap_profiler/ |
D | sampling_heap_profiler_unittest.cc | 52 SamplingHeapProfiler* profiler = SamplingHeapProfiler::GetInstance(); in TEST_F() local 53 profiler->SuppressRandomnessForTest(true); in TEST_F() 54 profiler->SetSamplingInterval(1024); in TEST_F() 55 profiler->Start(); in TEST_F() 56 profiler->AddSamplesObserver(&collector); in TEST_F() 59 profiler->Stop(); in TEST_F() 60 profiler->RemoveSamplesObserver(&collector); in TEST_F() 102 SamplingHeapProfiler* profiler = SamplingHeapProfiler::GetInstance(); in CheckAllocationPattern() local 103 profiler->SuppressRandomnessForTest(false); in CheckAllocationPattern() 104 profiler->SetSamplingInterval(10240); in CheckAllocationPattern() [all …]
|
/external/autotest/client/samples/ |
D | control.profilers | 16 for profiler in ('readprofile', 'oprofile', 'catprofile', 'lockmeter'): 18 logging.info("Testing profiler %s", profiler) 19 job.profilers.add(profiler) 20 job.run_test('sleeptest', seconds=5, tag=profiler) 21 job.profilers.delete(profiler) 23 logging.error("Test of profiler %s failed", profiler)
|
/external/autotest/server/site_tests/native_Benchmarks/ |
D | control.octane | 18 profiler = None 24 if 'profiler' in args_dict: 25 profiler = args_dict['profiler'] 29 if profiler: 31 job.profilers.add(profiler, p_args) 41 if profiler: 42 job.profilers.delete (profiler)
|
D | control.vp8 | 18 profiler = None 24 if 'profiler' in args_dict: 25 profiler = args_dict['profiler'] 29 if profiler: 31 job.profilers.add(profiler, p_args) 41 if profiler: 42 job.profilers.delete (profiler)
|
/external/grpc-grpc/src/csharp/Grpc.Core/Profiling/ |
D | ProfilerScope.cs | 30 readonly IProfiler profiler; field 33 public ProfilerScope(IProfiler profiler, string tag) in ProfilerScope() 35 this.profiler = profiler; in ProfilerScope() 37 this.profiler.Begin(this.tag); in ProfilerScope() 42 profiler.End(tag); in Dispose()
|