/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()
|
D | NestedProfilerDemo.java | 25 package org.slf4j.profiler; 59 Profiler profiler = new Profiler("DEMO"); in main() local 63 profiler.registerWith(profilerRegistry); in main() 66 profiler.start("RANDOM"); in main() 76 profiler.startNested(SortAndPruneComposites.NESTED_PROFILER_NAME); in main() 82 profiler.stop().print(); in main()
|
/external/tensorflow/tensorflow/lite/profiling/ |
D | profiler_test.cc | 34 void SleepForQuarterSecond(Profiler* profiler) { in SleepForQuarterSecond() argument 35 ScopedProfile profile(profiler, "SleepForQuarter"); in SleepForQuarterSecond() 39 void ChildFunction(Profiler* profiler) { in ChildFunction() argument 40 ScopedProfile profile(profiler, "Child"); in ChildFunction() 41 SleepForQuarterSecond(profiler); in ChildFunction() 44 void ParentFunction(Profiler* profiler) { in ParentFunction() argument 45 ScopedProfile profile(profiler, "Parent"); in ParentFunction() 47 ChildFunction(profiler); in ParentFunction() 52 Profiler profiler; in TEST() local 53 ParentFunction(&profiler); in TEST() [all …]
|
D | profiler.h | 107 ScopedProfile(Profiler* profiler, const char* tag) in ScopedProfile() argument 109 if (profiler) { in ScopedProfile() 110 buffer_ = profiler->GetProfileBuffer(); in ScopedProfile() 131 ScopedOperatorProfile(Profiler* profiler, const char* tag, int node_index) in ScopedOperatorProfile() argument 133 if (profiler) { in ScopedOperatorProfile() 134 buffer_ = profiler->GetProfileBuffer(); in ScopedOperatorProfile() 156 #define SCOPED_TAGGED_OPERATOR_PROFILE(profiler, tag, node_index) \ argument 158 _profile_, __COUNTER__)((profiler), (tag), (node_index)) 159 #define SCOPED_OPERATOR_PROFILE(profiler, node_index) \ argument 160 SCOPED_TAGGED_OPERATOR_PROFILE((profiler), "OpInvoke", (node_index)) [all …]
|
D | profile_summarizer_test.cc | 106 Profiler profiler; 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 Profiler profiler; in TEST() local 131 interpreter->SetProfiler(&profiler); in TEST() 132 profiler.StartProfiling(); in TEST() 137 profiler.StopProfiling(); in TEST() [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/core/profiler/internal/ |
D | BUILD | 29 "//tensorflow/core/profiler:protos_all_cc", 30 "//tensorflow/core/profiler:tfprof_options", 56 "//tensorflow/core/profiler:protos_all_cc", 57 "//tensorflow/core/profiler:tfprof_options", 77 "//tensorflow/core/profiler:protos_all_cc", 78 "//tensorflow/core/profiler:tfprof_options", 97 "//tensorflow/core/profiler:protos_all_cc", 98 "//tensorflow/core/profiler:tfprof_options", 119 "//tensorflow/core/profiler:protos_all_cc", 120 "//tensorflow/core/profiler:tfprof_options", [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/lib/ |
D | profiler_session.cc | 70 profiler::Trace* trace, in ConvertRunMetadataToTraceEvent() 80 profiler::Device device; in ConvertRunMetadataToTraceEvent() 83 profiler::Resource resource; in ConvertRunMetadataToTraceEvent() 88 profiler::Resource resource; in ConvertRunMetadataToTraceEvent() 133 for (auto& profiler : profilers_) { in SerializeToString() local 134 profiler->Stop().IgnoreError(); in SerializeToString() 137 for (auto& profiler : profilers_) { in SerializeToString() local 138 profiler->CollectData(&run_metadata).IgnoreError(); in SerializeToString() 147 profiler::Trace trace; in SerializeToString() 167 profilers_.push_back(tensorflow::profiler::runtime::EagerProfiler::Create( in ProfilerSession() [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/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/contrib/cmake/ |
D | tf_core_profiler.cmake | 19 "${tensorflow_source_dir}/tensorflow/core/profiler/*.proto" 20 "${tensorflow_source_dir}/tensorflow/core/profiler/tfprof_options.h" 21 "${tensorflow_source_dir}/tensorflow/core/profiler/tfprof_options.cc" 22 "${tensorflow_source_dir}/tensorflow/core/profiler/internal/*.h" 23 "${tensorflow_source_dir}/tensorflow/core/profiler/internal/*.cc" 24 "${tensorflow_source_dir}/tensorflow/core/profiler/internal/advisor/*.h" 25 "${tensorflow_source_dir}/tensorflow/core/profiler/internal/advisor/*.cc" 30 "${tensorflow_source_dir}/tensorflow/core/profiler/internal/*test.cc" 31 "${tensorflow_source_dir}/tensorflow/core/profiler/internal/advisor/*test.cc" 32 "${tensorflow_source_dir}/tensorflow/core/profiler/internal/print_model_analysis.cc" [all …]
|
/external/tensorflow/tensorflow/c/eager/ |
D | c_api_experimental.cc | 33 bool TFE_ProfilerIsOk(TFE_Profiler* profiler) { in TFE_ProfilerIsOk() argument 34 return profiler->profiler->Status().ok(); in TFE_ProfilerIsOk() 37 void TFE_DeleteProfiler(TFE_Profiler* profiler) { delete profiler; } in TFE_DeleteProfiler() argument 39 void TFE_ProfilerSerializeToString(TFE_Context* ctx, TFE_Profiler* profiler, in TFE_ProfilerSerializeToString() argument 44 status->status = profiler->profiler->SerializeToString(&content); in TFE_ProfilerSerializeToString() 86 tensorflow::profiler::client::ValidateHostPortPair(service_addr); in TFE_ProfilerClientStartTracing() 90 s = tensorflow::profiler::client::StartTracing( in TFE_ProfilerClientStartTracing()
|
/external/tensorflow/tensorflow/python/eager/ |
D | profiler_test.py | 23 from tensorflow.core.profiler import trace_events_pb2 24 from tensorflow.python.eager import profiler 34 profiler.start() 39 with self.assertRaises(profiler.ProfilerAlreadyRunningError): 40 profiler.start() 42 profile_result = profiler.stop() 47 with self.assertRaises(profiler.ProfilerNotRunningError): 48 profiler.stop() 54 profiler.save(logdir, profile_result)
|
/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/tensorflow/tensorflow/compiler/xla/service/gpu/ |
D | while_thunk.cc | 52 HloExecutionProfiler* profiler) { in ExecuteOnStream() argument 56 auto op_profiler = profiler->MakeScopedInstructionProfiler(hlo_instruction()); in ExecuteOnStream() 59 profiler->StartHloComputation(); in ExecuteOnStream() 62 buffer_allocations, stream, profiler)); in ExecuteOnStream() 63 profiler->FinishHloComputation(hlo_instruction()->while_condition()); in ExecuteOnStream() 82 profiler->StartHloComputation(); in ExecuteOnStream() 87 stream, profiler)); in ExecuteOnStream() 88 profiler->FinishHloComputation(hlo_instruction()->while_body()); in ExecuteOnStream()
|
/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/tensorflow/tensorflow/cc/profiler/ |
D | BUILD | 16 ":profiler", 29 name = "profiler", 30 srcs = ["profiler.cc"], 31 hdrs = ["profiler.h"], 35 "//tensorflow/core/profiler:protos_all_cc", 36 "//tensorflow/core/profiler:tfprof_options", 37 "//tensorflow/core/profiler/internal:tfprof_stats",
|
/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()
|
/external/slf4j/slf4j-ext/src/main/java/org/slf4j/profiler/ |
D | ProfilerRegistry.java | 25 package org.slf4j.profiler; 41 public void put(Profiler profiler) { in put() argument 42 put(profiler.getName(), profiler); in put() local 45 public void put(String name, Profiler profiler) { in put() argument 46 profilerMap.put(name, profiler); in put()
|