Home
last modified time | relevance | path

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

123456789

/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 …]
DNestedProfilerDemo2.java25 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()
DBasicProfilerDemo.java25 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()
DNestedProfilerDemo.java25 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/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/
DBUILD27 "//tensorflow/core/profiler:protos_all_cc",
28 "//tensorflow/core/profiler:tfprof_options",
54 "//tensorflow/core/profiler:protos_all_cc",
55 "//tensorflow/core/profiler:tfprof_options",
75 "//tensorflow/core/profiler:protos_all_cc",
76 "//tensorflow/core/profiler:tfprof_options",
95 "//tensorflow/core/profiler:protos_all_cc",
96 "//tensorflow/core/profiler:tfprof_options",
117 "//tensorflow/core/profiler:protos_all_cc",
118 "//tensorflow/core/profiler:tfprof_options",
[all …]
/external/tensorflow/tensorflow/python/profiler/
Dprofiler_test.py27 from tensorflow.python.profiler import option_builder
30 from tensorflow.python.profiler import model_analyzer
31 from tensorflow.python.profiler.internal import model_analyzer_testlib as lib
59 profiler = model_analyzer.Profiler(sess.graph)
60 profiler.add_step(1, run_meta)
61 profiler.profile_graph(opts)
71 profiler.profile_name_scope(opts)
81 profiler.profile_python(opts)
91 profiler.profile_operations(opts)
115 profiler = model_analyzer.Profiler(sess.graph)
[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
DBUILD10 name = "profiler",
11 srcs = ["profiler.py"],
18 "//tensorflow/core/profiler:protos_all_py",
39 "//tensorflow/core/profiler:protos_all_py",
52 "//tensorflow/python/profiler/internal:model_analyzer_testlib",
75 "//tensorflow/python/profiler/internal:model_analyzer_testlib",
86 "//tensorflow/core/profiler:protos_all_py",
89 "//tensorflow/python/profiler/internal:flops_registry",
101 "//tensorflow/core/profiler:protos_all_py",
129 "//tensorflow/python/profiler/internal:model_analyzer_testlib",
/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 …]
Dcommand_line.md52 tf.profiler.write_op_log(graph, log_dir, op_log=None)
66 bazel build --config opt tensorflow/core/profiler:profiler
69 bazel-bin/tensorflow/core/profiler/profiler help
80 bazel-bin/tensorflow/core/profiler/profiler \
91 bazel-bin/tensorflow/core/profiler/profiler \
96 bazel-bin/tensorflow/core/profiler/profiler \
100 bazel-bin/tensorflow/core/profiler/profiler \
106 bazel-bin/tensorflow/core/profiler/profiler \
114 bazel-bin/tensorflow/core/profiler/profiler \
125 bazel-bin/tensorflow/core/profiler/profiler scope \
[all …]
/external/syslinux/gpxe/src/include/gpxe/
Dprofile.h17 union profiler { union
33 static union profiler simple_profiler;
53 profile ( union profiler *profiler ) { in profile() argument
54 uint64_t last_timestamp = profiler->timestamp; in profile()
57 "=a" ( profiler->rdtsc.eax ), in profile()
58 "=d" ( profiler->rdtsc.edx ) ); in profile()
59 return ( profiler->timestamp - last_timestamp ); in profile()
/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/contrib/cmake/
Dtf_core_profiler.cmake19 "${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/autotest/client/samples/
Dcontrol.profilers16 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/
Dcontrol.octane18 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)
Dcontrol.vp818 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/
DBUILD13 ":profiler",
26 name = "profiler",
27 srcs = ["profiler.cc"],
28 hdrs = ["profiler.h"],
32 "//tensorflow/core/profiler:protos_all_cc",
33 "//tensorflow/core/profiler:tfprof_options",
34 "//tensorflow/core/profiler/internal:tfprof_stats",
/external/autotest/server/site_tests/telemetry_Crosperf/
Dcontrol20 profiler = None
26 if 'profiler' in args_dict:
27 profiler = args_dict['profiler']
31 if profiler:
33 job.profilers.add(profiler, p_args)
45 if profiler:
46 job.profilers.delete (profiler)
/external/slf4j/slf4j-ext/src/main/java/org/slf4j/profiler/
DProfilerRegistry.java25 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()
/external/tensorflow/tensorflow/core/profiler/
DBUILD27 name = "profiler",
28 srcs = ["profiler.cc"],
37 "//tensorflow/core/profiler:tfprof_options",
38 "//tensorflow/core/profiler/internal:tfprof_stats",
39 "//tensorflow/core/profiler/internal:tfprof_utils",
40 "//tensorflow/core/profiler/internal/advisor:tfprof_advisor",
52 "//tensorflow/core/profiler:protos_all_cc",
/external/tensorflow/tensorflow/contrib/tfprof/
Dmodel_analyzer.py26 from tensorflow.python.profiler import tfprof_logger
27 from tensorflow.python.profiler.model_analyzer import advise as _advise
28 from tensorflow.python.profiler.model_analyzer import ALL_ADVICE
29 from tensorflow.python.profiler.model_analyzer import profile as _profile
30 from tensorflow.python.profiler.model_analyzer import Profiler
31 from tensorflow.python.profiler.profile_context import ProfileContext
/external/autotest/server/
Dprofilers.py5 from autotest_lib.server import profiler, autotest, standalone_profiler
44 newprofiler = profiler.profiler_proxy(profiler_name)
50 def add(self, profiler, *args, **dargs): argument
51 super(profilers, self).add(profiler, *args, **dargs)
52 self.add_log[profiler] = (args, dargs)
55 def delete(self, profiler): argument
56 super(profilers, self).delete(profiler)
57 if profiler in self.add_log:
58 del self.add_log[profiler]
261 for profiler in self.list:
[all …]
Dstandalone_profiler.py24 def _encode_args(profiler, args, dargs): argument
25 parts = [repr(profiler)]
53 for profiler in profilers:
55 % _encode_args(*profiler))
62 for profiler in reversed(profilers):
63 control_file.append("job.profilers.delete('%s')" % profiler[0])
/external/tensorflow/tensorflow/core/profiler/internal/advisor/
DBUILD14 "//tensorflow/core/profiler:protos_all_cc",
15 "//tensorflow/core/profiler/internal:tfprof_stats",
24 "//tensorflow/core/profiler:protos_all_cc",
25 "//tensorflow/core/profiler/internal:tfprof_utils",
62 "//tensorflow/core/profiler:protos_all_cc",
73 "//tensorflow/core/profiler/internal:tfprof_tf_testlib",

123456789