Home
last modified time | relevance | path

Searched full:profiler (Results 1 – 25 of 1517) sorted by relevance

12345678910>>...61

/external/tensorflow/tensorflow/core/profiler/convert/
DBUILD3 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 …]
Dxplane_to_profile_response.cc15 #include "tensorflow/core/profiler/convert/xplane_to_profile_response.h"
26 #include "tensorflow/core/profiler/convert/op_stats_to_input_pipeline_analysis.h"
27 #include "tensorflow/core/profiler/convert/op_stats_to_op_profile.h"
28 #include "tensorflow/core/profiler/convert/op_stats_to_overview_page.h"
29 #include "tensorflow/core/profiler/convert/op_stats_to_tf_stats.h"
30 #include "tensorflow/core/profiler/convert/trace_events_to_json.h"
31 #include "tensorflow/core/profiler/convert/xplane_to_memory_profile.h"
32 #include "tensorflow/core/profiler/convert/xplane_to_op_stats.h"
33 #include "tensorflow/core/profiler/convert/xplane_to_trace_events.h"
34 #include "tensorflow/core/profiler/profiler_service.pb.h"
[all …]
Dop_stats_to_op_profile.cc16 #include "tensorflow/core/profiler/convert/op_stats_to_op_profile.h"
22 #include "tensorflow/core/profiler/convert/op_profile_builder.h"
23 #include "tensorflow/core/profiler/protobuf/hardware_types.pb.h"
24 #include "tensorflow/core/profiler/protobuf/op_metrics.pb.h"
25 #include "tensorflow/core/profiler/protobuf/op_profile.pb.h"
26 #include "tensorflow/core/profiler/protobuf/op_stats.pb.h"
27 #include "tensorflow/core/profiler/utils/math_utils.h"
28 #include "tensorflow/core/profiler/utils/op_metrics_db_utils.h"
31 namespace profiler { namespace
34 using ::tensorflow::profiler::GigaToGibi;
[all …]
Dxplane_to_tools_data.cc16 #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 …]
/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()
54 Profiler profiler = new Profiler("BAS"); in testBasicProfiling() local
56 profiler.start("doX"); in testBasicProfiling()
59 profiler.start("doY"); in testBasicProfiling()
[all …]
DNestedProfilerDemo.java25 package org.slf4j.profiler;
43 + Profiler [DEMO]
45 |---+ Profiler [SORT_AND_PRUNE]
58 // create a profiler called "DEMO" in main()
59 Profiler profiler = new Profiler("DEMO"); in main() local
61 // register this profiler in the thread context's profiler registry in main()
63 profiler.registerWith(profilerRegistry); in main()
66 profiler.start("RANDOM"); in main()
71 // create and start a nested profiler called "SORT_AND_PRUNE" in main()
73 // profiler, and the previous registration of the parent profiler, in main()
[all …]
/external/tensorflow/tensorflow/core/profiler/backends/cpu/
DBUILD4 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 …]
/external/google-cloud-java/java-profiler/
DCHANGELOG.md3 …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 …]
Dsynth.metadata6 "remote": "https://github.com/googleapis/java-profiler.git",
95 …"google-cloud-profiler/src/main/java/com/google/devtools/cloudprofiler/v2/ProfilerServiceClient.ja…
96 …"google-cloud-profiler/src/main/java/com/google/devtools/cloudprofiler/v2/ProfilerServiceSettings.…
97 "google-cloud-profiler/src/main/java/com/google/devtools/cloudprofiler/v2/gapic_metadata.json",
98 "google-cloud-profiler/src/main/java/com/google/devtools/cloudprofiler/v2/package-info.java",
99 …"google-cloud-profiler/src/main/java/com/google/devtools/cloudprofiler/v2/stub/GrpcProfilerService…
100 …"google-cloud-profiler/src/main/java/com/google/devtools/cloudprofiler/v2/stub/GrpcProfilerService…
101 …"google-cloud-profiler/src/main/java/com/google/devtools/cloudprofiler/v2/stub/ProfilerServiceStub…
102 …"google-cloud-profiler/src/main/java/com/google/devtools/cloudprofiler/v2/stub/ProfilerServiceStub…
103 …"google-cloud-profiler/src/test/java/com/google/devtools/cloudprofiler/v2/MockProfilerService.java…
[all …]
/external/tensorflow/tensorflow/lite/profiling/
Dprofiler_test.cc15 #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 …]
Droot_profiler.h23 #include "tensorflow/lite/core/api/profiler.h"
28 /// A root profiler instance installed in TFLite runtime.
32 class RootProfiler : public Profiler {
45 /// Adds a profiler to root profiler.
46 /// Added `profiler` should not be nullptr or it will be ignored.
49 void AddProfiler(Profiler* profiler);
51 /// Adds a profiler to RootProfiler.
52 /// Added `profiler` should not be nullptr or it will be ignored.
53 /// Transfers the ownership of `profiler` to RootProfiler.
54 void AddProfiler(std::unique_ptr<Profiler>&& profiler);
[all …]
/external/tensorflow/tensorflow/python/profiler/
Dprofiler_v2.py15 """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 …]
Doption_builder.py15 """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 …]
Dprofiler.py15 """profiler python module provides APIs to profile TensorFlow models.
18 from tensorflow.core.profiler.tfprof_log_pb2 import OpLogProto
19 from tensorflow.core.profiler.tfprof_output_pb2 import AdviceProto
20 from tensorflow.core.profiler.tfprof_output_pb2 import GraphNodeProto
21 from tensorflow.core.profiler.tfprof_output_pb2 import MultiGraphNodeProto
23 from tensorflow.python.profiler.model_analyzer import advise
24 from tensorflow.python.profiler.model_analyzer import profile
25 from tensorflow.python.profiler.model_analyzer import Profiler
26 from tensorflow.python.profiler.option_builder import ProfileOptionBuilder
27 from tensorflow.python.profiler.tfprof_logger import write_op_log
[all …]
Dprofiler_v2_test.py15 """Tests for tf 2.x profiler."""
25 from tensorflow.python.profiler import profiler_v2 as profiler unknown
26 from tensorflow.python.profiler import trace
33 profiler.start(logdir)
35 profiler.start(logdir)
37 profiler.stop()
39 profiler.stop()
42 # profiler.
44 profiler.start('/dev/null/\/\/:123')
47 profiler.stop()
[all …]
/external/tensorflow/tensorflow/lite/core/api/
Dprofiler.h23 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 …]
/external/tensorflow/tensorflow/python/eager/
Dprofiler.py15 """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 …]
/external/tensorflow/tensorflow/core/profiler/internal/
DBUILD26 "//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 …]
/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",
86 "//tensorflow/python/profiler:__subpackages__",
103 "//tensorflow/core/profiler/lib:traceme_for_pybind",
115 "//tensorflow/core/profiler:internal",
117 "//tensorflow/python/profiler:__pkg__",
122 "//tensorflow/core/profiler/convert:tool_options",
[all …]
/external/tensorflow/tensorflow/core/profiler/lib/
Dprofiler_session.cc16 #include "tensorflow/core/profiler/lib/profiler_session.h"
28 #include "tensorflow/core/profiler/profiler_options.pb.h"
29 #include "tensorflow/core/profiler/protobuf/xplane.pb.h"
33 #include "tensorflow/core/profiler/convert/post_process_single_host_xplane.h"
34 #include "tensorflow/core/profiler/lib/profiler_collection.h"
35 #include "tensorflow/core/profiler/lib/profiler_factory.h"
36 #include "tensorflow/core/profiler/lib/profiler_interface.h"
37 #include "tensorflow/core/profiler/lib/profiler_lock.h"
38 #include "tensorflow/core/profiler/utils/time_utils.h"
64 Status ProfilerSession::CollectDataInternal(profiler::XSpace* space) { in CollectDataInternal()
[all …]
DBUILD6 "//tensorflow/core/profiler/builds:build_config.bzl",
27 "//tensorflow/core/profiler:profiler_options_proto_cc",
30 "//tensorflow/core/profiler/convert:xplane_to_step_stats",
37 visibility = ["//tensorflow/python/profiler/internal:__pkg__"],
45 "//tensorflow/core/profiler/protobuf:xplane_proto_cc",
46 "//tensorflow/core/profiler:profiler_options_proto_cc",
65 "//tensorflow/core/profiler:__pkg__",
71 "//tensorflow/core/profiler/protobuf:xplane_proto_cc",
72 "//tensorflow/core/profiler:profiler_options_proto_cc",
80 "//tensorflow/core/profiler/convert:post_process_single_host_xplane",
[all …]
/external/tensorflow/tensorflow/core/profiler/rpc/client/
DBUILD5 "//tensorflow/core/profiler/builds:build_config.bzl",
27 "//tensorflow/python/profiler/internal:__pkg__",
35 "//tensorflow/core/profiler:profiler_analysis_proto_cc",
36 "//tensorflow/core/profiler:profiler_options_proto_cc",
37 "//tensorflow/core/profiler:profiler_service_proto_cc",
38 "//tensorflow/core/profiler/convert:xplane_to_profile_response",
39 "//tensorflow/core/profiler/protobuf:xplane_proto_cc",
50 visibility = ["//tensorflow/core/profiler:internal"],
55 "//tensorflow/core/profiler:profiler_service_proto_cc",
56 "//tensorflow/core/profiler/utils:file_system_utils",
[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/tensorflow/tensorflow/c/experimental/pluggable_profiler/
Dpluggable_profiler.cc26 #include "tensorflow/core/profiler/lib/profiler_factory.h"
27 #include "tensorflow/core/profiler/lib/profiler_interface.h"
28 #include "tensorflow/core/profiler/profiler_options.pb.h"
31 namespace profiler { namespace
45 Status ValidateTPProfiler(const TP_Profiler& profiler) { in ValidateTPProfiler() argument
46 TF_VALIDATE_STRUCT_SIZE(TP_Profiler, profiler, TP_PROFILER_STRUCT_SIZE); in ValidateTPProfiler()
47 TF_VALIDATE_NOT_NULL(TP_Profiler, profiler, device_type); in ValidateTPProfiler()
49 tensorflow::device_utils::ValidateDeviceType(profiler.device_type)); in ValidateTPProfiler()
62 class PluggableProfiler : public tensorflow::profiler::ProfilerInterface {
64 // The caller must have validated profiler_fns and profiler.
[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 …]

12345678910>>...61