Home
last modified time | relevance | path

Searched refs:profiler (Results 1 – 25 of 736) sorted by relevance

12345678910>>...30

/external/tensorflow/tensorflow/core/profiler/convert/
DBUILD3 load("//tensorflow/core/profiler/builds:build_config.bzl", "tf_profiler_copts")
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 …]
/external/slf4j/slf4j-ext/src/test/java/org/slf4j/profiler/
DProfilerTest.java25 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 …]
/external/tensorflow/tensorflow/lite/profiling/
Dprofiler_test.cc34 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 …]
Dprofile_summarizer_test.cc109 BufferedProfiler profiler(1024); in TEST() local
113 interpreter->SetProfiler(&profiler); in TEST()
114 profiler.StartProfiling(); in TEST()
119 profiler.StopProfiling(); in TEST()
121 auto events = profiler.GetProfileEvents(); in TEST()
123 summarizer.ProcessProfiles(profiler.GetProfileEvents(), *interpreter); in TEST()
130 BufferedProfiler profiler(1024); in TEST() local
134 interpreter->SetProfiler(&profiler); in TEST()
135 profiler.StartProfiling(); in TEST()
140 profiler.StopProfiling(); in TEST()
[all …]
/external/tensorflow/tensorflow/core/profiler/internal/cpu/
DBUILD4 load("//tensorflow/core/profiler/builds:build_config.bzl", "tf_profiler_copts")
16 visibility = ["//tensorflow/core/profiler:friends"],
20 "//tensorflow/core/profiler/protobuf:xplane_proto_cc",
21 "//tensorflow/core/profiler/utils:parse_annotation",
22 "//tensorflow/core/profiler/utils:tf_op_utils",
23 "//tensorflow/core/profiler/utils:xplane_builder",
24 "//tensorflow/core/profiler/utils:xplane_utils",
38 "//tensorflow/core/profiler:profiler_options_proto_cc",
39 "//tensorflow/core/profiler/lib:profiler_factory",
40 "//tensorflow/core/profiler/lib:profiler_interface",
[all …]
/external/tensorflow/tensorflow/core/profiler/lib/
Dprofiler_session.cc62 Status ProfilerSession::CollectData(profiler::XSpace* space) { in CollectData()
67 for (auto& profiler : profilers_) { in CollectData() local
68 profiler->Stop().IgnoreError(); in CollectData()
71 for (auto& profiler : profilers_) { in CollectData() local
72 profiler->CollectData(space).IgnoreError(); in CollectData()
77 profiler::ReleaseProfilerLock(); in CollectData()
91 for (auto& profiler : profilers_) { in CollectData() local
92 profiler->Stop().IgnoreError(); in CollectData()
95 for (auto& profiler : profilers_) { in CollectData() local
96 profiler->CollectData(run_metadata).IgnoreError(); in CollectData()
[all …]
DBUILD6 "//tensorflow/core/profiler/builds:build_config.bzl",
22 visibility = ["//tensorflow/python/profiler/internal:__pkg__"],
31 "//tensorflow/core/profiler/protobuf:xplane_proto_cc",
32 "//tensorflow/core/profiler:profiler_options_proto_cc",
48 "//tensorflow/core/profiler:__pkg__",
55 "//tensorflow/core/profiler/protobuf:xplane_proto_cc",
56 "//tensorflow/core/profiler:profiler_options_proto_cc",
62 "//tensorflow/core/profiler/convert:post_process_single_host_xplane",
63 "//tensorflow/core/profiler/utils:time_utils",
73 "//tensorflow/core/profiler:profiler_options_proto_cc",
[all …]
/external/tensorflow/tensorflow/lite/micro/benchmarks/
Dperson_detection_benchmark.cc51 PersonDetectionBenchmarkRunner* CreateBenchmarkRunner(MicroProfiler* profiler) { in CreateBenchmarkRunner() argument
58 kTensorArenaSize, profiler); in CreateBenchmarkRunner()
64 MicroProfiler& profiler) { in PersonDetectionNIerations() argument
68 profiler.ClearEvents(); in PersonDetectionNIerations()
70 ticks += profiler.GetTotalTicks(); in PersonDetectionNIerations()
80 tflite::MicroProfiler profiler; in main() local
82 uint32_t event_handle = profiler.BeginEvent("InitializeBenchmarkRunner"); in main()
84 CreateBenchmarkRunner(&profiler); in main()
85 profiler.EndEvent(event_handle); in main()
86 profiler.Log(); in main()
[all …]
Dkeyword_benchmark.cc51 KeywordBenchmarkRunner* CreateBenchmarkRunner(MicroProfiler* profiler) { in CreateBenchmarkRunner() argument
62 tensor_arena, kTensorArenaSize, profiler); in CreateBenchmarkRunner()
67 MicroProfiler& profiler) { in KeywordRunNIerations() argument
71 profiler.ClearEvents(); in KeywordRunNIerations()
73 ticks += profiler.GetTotalTicks(); in KeywordRunNIerations()
82 tflite::MicroProfiler profiler; in main() local
84 uint32_t event_handle = profiler.BeginEvent("InitializeKeywordRunner"); in main()
86 CreateBenchmarkRunner(&profiler); in main()
87 profiler.EndEvent(event_handle); in main()
88 profiler.Log(); in main()
[all …]
/external/tensorflow/tensorflow/lite/core/api/
Dprofiler.h105 ScopedProfile(Profiler* profiler, const char* tag,
108 : profiler_(profiler), event_handle_(0) { in profiler_() argument
109 if (profiler) { in profiler_()
127 ScopedOperatorProfile(Profiler* profiler, const char* tag, int node_index) in ScopedOperatorProfile() argument
128 : ScopedProfile(profiler, tag, Profiler::EventType::OPERATOR_INVOKE_EVENT, in ScopedOperatorProfile()
134 ScopedDelegateOperatorProfile(Profiler* profiler, const char* tag, in ScopedDelegateOperatorProfile() argument
136 : ScopedProfile(profiler, tag, in ScopedDelegateOperatorProfile()
143 ScopedRuntimeInstrumentationProfile(Profiler* profiler, const char* tag) in ScopedRuntimeInstrumentationProfile() argument
145 profiler, tag, in ScopedRuntimeInstrumentationProfile()
171 #define TFLITE_SCOPED_TAGGED_DEFAULT_PROFILE(profiler, tag) \ argument
[all …]
/external/tensorflow/tensorflow/core/profiler/rpc/client/
DBUILD5 "//tensorflow/core/profiler/builds:build_config.bzl",
26 "//tensorflow/python/profiler/internal:__pkg__",
34 "//tensorflow/core/profiler:profiler_analysis_proto_cc",
35 "//tensorflow/core/profiler:profiler_options_proto_cc",
36 "//tensorflow/core/profiler:profiler_service_proto_cc",
37 "//tensorflow/core/profiler/convert:xplane_to_profile_response",
38 "//tensorflow/core/profiler/protobuf:xplane_proto_cc",
49 visibility = ["//tensorflow/core/profiler:internal"],
54 "//tensorflow/core/profiler:profiler_service_proto_cc",
55 "//tensorflow/core/profiler/utils:file_system_utils",
[all …]
/external/python/cpython2/Lib/test/
Dtest_hotshot.py65 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/
DBUILD26 "//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/tensorflow/tensorflow/python/profiler/
Dprofiler_v2_test.py29 from tensorflow.python.profiler import profiler_v2 as profiler unknown
30 from tensorflow.python.profiler import trace
37 profiler.start(logdir)
39 profiler.start(logdir)
41 profiler.stop()
43 profiler.stop()
48 profiler.start('/\/\/:123')
51 profiler.stop()
52 profiler.start(logdir)
53 profiler.stop()
[all …]
Dprofiler.py22 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
Dprofiler_test.py28 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 …]
/external/tensorflow/tensorflow/python/profiler/internal/
DBUILD5 load("//tensorflow/core/profiler/builds:build_config.bzl", "tf_profiler_copts")
8 default_visibility = ["//tensorflow/python/profiler:__subpackages__"],
48 "//tensorflow/core/profiler:protos_all_py",
71 "//tensorflow/core/profiler:protos_all_py",
76 "//tensorflow/python/profiler:model_analyzer",
87 "//tensorflow/python/profiler:__subpackages__",
104 "//tensorflow/core/profiler/lib:traceme_for_pybind",
118 "//tensorflow/python/profiler:__pkg__",
122 "//tensorflow/core/profiler/convert:xplane_to_tools_data",
123 "//tensorflow/core/profiler/rpc:profiler_server_for_pybind",
[all …]
/external/tensorflow/tensorflow/core/profiler/internal/gpu/
DBUILD22 load("//tensorflow/core/profiler/builds:build_config.bzl", "tf_profiler_copts")
34 "//tensorflow/core/profiler/internal/gpu:cupti_tracer",
35 "//tensorflow/core/profiler/internal/gpu:cupti_wrapper",
42 "//tensorflow/core/profiler/internal/cpu:annotation_stack",
43 "//tensorflow/core/profiler/lib:profiler_factory",
44 "//tensorflow/core/profiler/lib:profiler_interface",
45 "//tensorflow/core/profiler/protobuf:xplane_proto_cc",
46 "//tensorflow/core/profiler/utils:time_utils",
83 "//tensorflow/core/profiler/lib:profiler_interface",
84 "//tensorflow/core/profiler/lib:profiler_session",
[all …]
/external/tensorflow/tensorflow/core/profiler/rpc/
DBUILD5 "//tensorflow/core/profiler/builds:build_config.bzl",
12 default_visibility = ["//tensorflow/core/profiler:internal"],
20 tf_profiler_alias("//tensorflow/core/profiler/rpc/", "grpc"),
29 visibility = ["//tensorflow/core/profiler/rpc:__subpackages__"],
47 "//tensorflow/core/profiler:profiler_service_proto_cc",
48 "//tensorflow/core/profiler/lib:profiler_session",
49 "//tensorflow/core/profiler/protobuf:xplane_proto_cc",
50 "//tensorflow/core/profiler/utils:file_system_utils",
51 "//tensorflow/core/profiler/utils:xplane_utils",
62 visibility = ["//tensorflow/python/profiler/internal:__pkg__"],
[all …]
/external/tensorflow/tensorflow/compiler/xla/python/
Dprofiler.cc29 class TraceMeWrapper : public tensorflow::profiler::TraceMeWrapper {
31 using tensorflow::profiler::TraceMeWrapper::TraceMeWrapper;
36 py::module profiler = in BuildProfilerSubmodule() local
38 py::class_<tensorflow::profiler::ProfilerServer, in BuildProfilerSubmodule()
39 std::unique_ptr<tensorflow::profiler::ProfilerServer>> in BuildProfilerSubmodule()
40 profiler_server_class(profiler, "ProfilerServer"); in BuildProfilerSubmodule()
41 profiler.def( in BuildProfilerSubmodule()
43 [](int port) -> std::unique_ptr<tensorflow::profiler::ProfilerServer> { in BuildProfilerSubmodule()
44 auto server = absl::make_unique<tensorflow::profiler::ProfilerServer>(); in BuildProfilerSubmodule()
50 py::class_<TraceMeWrapper> traceme_class(profiler, "TraceMe", in BuildProfilerSubmodule()
/external/tensorflow/tensorflow/core/profiler/
DBUILD20 "//tensorflow/core/profiler/...",
22 "//tensorflow/python/profiler/...",
23 "//tensorflow/python/tpu/profiler/...",
93 "//tensorflow/core/profiler/internal/cpu:annotation_stack_impl",
94 "//tensorflow/core/profiler/internal/cpu:traceme_recorder_impl",
95 "//tensorflow/core/profiler/lib:profiler_factory_impl",
96 "//tensorflow/core/profiler/lib:profiler_session_impl",
97 "//tensorflow/core/profiler/utils:time_utils_impl",
102 # Libraries and binaries of TensorFlow profiler 1.x.
104 name = "profiler",
[all …]
/external/autotest/client/bin/
Dprofilers.py8 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/utils/
DBUILD4 load("//tensorflow/core/profiler/builds:build_config.bzl", "tf_profiler_copts")
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",
57 "//tensorflow/core/profiler/protobuf:hardware_types_proto_cc",
92 "//tensorflow/core/profiler/protobuf:op_metrics_proto_cc",
[all …]
/external/tensorflow/tensorflow/core/profiler/g3doc/
Dpython_api.md14 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/
Dsampling_heap_profiler_unittest.cc52 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 …]

12345678910>>...30