Home
last modified time | relevance | path

Searched refs:profiling (Results 1 – 25 of 334) sorted by relevance

12345678910>>...14

/external/tensorflow/tensorflow/python/debug/lib/
Dprofiling_test.py22 from tensorflow.python.debug.lib import profiling
35 self.profile_datum_1 = profiling.ProfileDatum(
43 self.profile_datum_2 = profiling.ProfileDatum(
51 self.profile_datum_3 = profiling.ProfileDatum(
59 self.profile_datum_4 = profiling.ProfileDatum(
63 aggregate_data = profiling.AggregateProfile(self.profile_datum_1)
71 aggregate_data = profiling.AggregateProfile(self.profile_datum_1)
80 aggregate_data = profiling.AggregateProfile(self.profile_datum_1)
90 aggregate_data = profiling.AggregateProfile(self.profile_datum_1)
/external/perfetto/src/profiling/memory/
Dmalloc_hooks.cc43 using perfetto::profiling::ScopedSpinlock;
44 using perfetto::profiling::UnhookedAllocator;
130 perfetto::base::NoDestructor<std::shared_ptr<perfetto::profiling::Client>>
237 std::shared_ptr<perfetto::profiling::Client> CreateClientForCentralDaemon( in CreateClientForCentralDaemon()
238 UnhookedAllocator<perfetto::profiling::Client> unhooked_allocator) { in CreateClientForCentralDaemon()
240 using perfetto::profiling::Client; in CreateClientForCentralDaemon()
243 Client::ConnectToHeapprofd(perfetto::profiling::kHeapprofdSocketFile); in CreateClientForCentralDaemon()
250 std::shared_ptr<perfetto::profiling::Client> CreateClientAndPrivateDaemon( in CreateClientAndPrivateDaemon()
251 UnhookedAllocator<perfetto::profiling::Client> unhooked_allocator) { in CreateClientAndPrivateDaemon()
268 if (!perfetto::profiling::GetCmdlineForPID(target_pid, &target_cmdline)) { in CreateClientAndPrivateDaemon()
[all …]
Dbookkeeping.h96 namespace profiling {
406 struct hash<::perfetto::profiling::Mapping> {
407 using argument_type = ::perfetto::profiling::Mapping;
411 std::hash<::perfetto::profiling::InternID>{}(mapping.build_id.id());
423 struct hash<::perfetto::profiling::Frame> {
424 using argument_type = ::perfetto::profiling::Frame;
427 size_t h = std::hash<::perfetto::profiling::InternID>{}(frame.mapping.id());
428 h ^= std::hash<::perfetto::profiling::InternID>{}(frame.function_name.id());
Dunwinding_fuzzer.cc27 namespace profiling { namespace
59 return perfetto::profiling::FuzzUnwinding(data, size); in LLVMFuzzerTestOneInput()
/external/tensorflow/tensorflow/lite/tools/benchmark/
Dbenchmark_model.cc32 return tflite::profiling::time::SleepForMicros( in SleepForSeconds()
121 profiling::time::NowMicros() + static_cast<int64_t>(min_secs * 1.e6f); in Run()
123 run < min_num_times || profiling::time::NowMicros() < min_finish_us; in Run()
127 int64_t start_us = profiling::time::NowMicros(); in Run()
129 int64_t end_us = profiling::time::NowMicros(); in Run()
156 int64_t initialization_start_us = profiling::time::NowMicros(); in Run()
158 int64_t initialization_end_us = profiling::time::NowMicros(); in Run()
/external/llvm/test/Transforms/GCOVProfiling/
Dversion.ll3 ; RUN: opt -insert-gcov-profiling -disable-output < %t2
6 ; RUN: not opt -insert-gcov-profiling -default-gcov-version=asdfasdf -disable-output < %t2
7 ; RUN: opt -insert-gcov-profiling -default-gcov-version=407* -disable-output < %t2
11 ; RUN: opt -passes=insert-gcov-profiling -disable-output < %t2
14 ; RUN: not opt -passes=insert-gcov-profiling -default-gcov-version=asdfasdf -disable-output < %t2
15 ; RUN: opt -passes=insert-gcov-profiling -default-gcov-version=407* -disable-output < %t2
Dmodules.ll1 ; RUN: opt -insert-gcov-profiling -o - < %s | llvm-dis | FileCheck -check-prefix=EMIT-ARCS %s
2 ; RUN: opt -passes=insert-gcov-profiling -o - < %s | llvm-dis | FileCheck -check-prefix=EMIT-ARCS %s
Dreturn-block.ll6 ; RUN: opt -insert-gcov-profiling -disable-output %t2
10 ; RUN: opt -insert-gcov-profiling -gcov-exit-block-before-body -disable-output %t2
15 ; RUN: opt -passes=insert-gcov-profiling -disable-output %t2
19 ; RUN: opt -passes=insert-gcov-profiling -gcov-exit-block-before-body -disable-output %t2
Dlinkagename.ll3 ; RUN: opt -insert-gcov-profiling -disable-output < %t2
7 ; RUN: opt -passes=insert-gcov-profiling -disable-output < %t2
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/GCOVProfiling/
Dversion.ll4 ; RUN: opt -insert-gcov-profiling -disable-output < %t/2
7 ; RUN: not opt -insert-gcov-profiling -default-gcov-version=asdfasdf -disable-output < %t/2
8 ; RUN: opt -insert-gcov-profiling -default-gcov-version=407* -disable-output < %t/2
12 ; RUN: opt -passes=insert-gcov-profiling -disable-output < %t/2
15 ; RUN: not opt -passes=insert-gcov-profiling -default-gcov-version=asdfasdf -disable-output < %t/2
16 ; RUN: opt -passes=insert-gcov-profiling -default-gcov-version=407* -disable-output < %t/2
Dmodules.ll1 ; RUN: opt -insert-gcov-profiling -o - < %s | llvm-dis | FileCheck -check-prefix=EMIT-ARCS %s
2 ; RUN: opt -passes=insert-gcov-profiling -o - < %s | llvm-dis | FileCheck -check-prefix=EMIT-ARCS %s
Dreturn-block.ll7 ; RUN: opt -insert-gcov-profiling -disable-output %t/2
11 ; RUN: opt -insert-gcov-profiling -gcov-exit-block-before-body -disable-output %t/2
16 ; RUN: opt -passes=insert-gcov-profiling -disable-output %t/2
20 ; RUN: opt -passes=insert-gcov-profiling -gcov-exit-block-before-body -disable-output %t/2
Dlinkagename.ll4 ; RUN: opt -insert-gcov-profiling -disable-output < %t/2
8 ; RUN: opt -passes=insert-gcov-profiling -disable-output < %t/2
/external/tensorflow/tensorflow/core/profiler/
Dprofiler_service.proto11 // Starts a profiling session, blocks until it completes, and returns data.
14 // Collects profiling data and returns user-friendly metrics.
39 // In future, the caller will be able to customize when profiling starts and
47 // Required profiling tools name such as "input_pipeline_analyzer" etc
53 // Optional profiling options that control how a TF session will be profiled.
69 // all activity during the profiling period is relevant.
84 // Graphs of programs executed on devices during the profiling period.
92 // during the profiling period. Describes the devices and resources that
104 // When we write profiling data directly to repository directory, we need a
/external/perfetto/
DBUILD.gn67 "src/profiling/memory:ring_buffer",
126 "src/profiling/memory:ring_buffer_unittests",
138 deps += [ "src/profiling/memory:unittests" ]
161 deps += [ "src/profiling/memory:end_to_end_tests" ]
301 "src/profiling/memory:shared_ring_buffer_fuzzer",
302 "src/profiling/memory:shared_ring_buffer_write_fuzzer",
303 "src/profiling/memory:unwinding_fuzzer",
331 "src/profiling/memory:malloc_hooks",
343 "src/profiling/memory:daemon",
344 "src/profiling/memory:wire_protocol",
[all …]
DAndroid.bp77 "src/profiling/memory/bookkeeping.cc",
78 "src/profiling/memory/heapprofd_producer.cc",
79 "src/profiling/memory/main.cc",
80 "src/profiling/memory/proc_utils.cc",
81 "src/profiling/memory/scoped_spinlock.cc",
82 "src/profiling/memory/shared_ring_buffer.cc",
83 "src/profiling/memory/system_property.cc",
84 "src/profiling/memory/unwinding.cc",
85 "src/profiling/memory/wire_protocol.cc",
187 "src/profiling/memory/client.cc",
[all …]
/external/perfetto/docs/
Dheapprofd.md52 profiling apps.*
75 ## Startup profiling
79 of the profiling session.
83 in the profiling session, profiling will be enabled as part of the zygote
85 that point in zygote specialization and the end of the profiling session.
93 ## Runtime profiling
95 are enumerated and profiling is enabled. The resulting profile will contain
96 all allocations done between the beginning and the end of the profiling
103 ## Concurrent profiling sessions
144 If the rate of allocations is too high for heapprofd to keep up, the profiling
[all …]
/external/tensorflow/tensorflow/lite/examples/label_image/
Dlabel_image.cc74 void PrintProfilingInfo(const profiling::ProfileEvent* e, uint32_t op_index, in PrintProfilingInfo()
187 profiling::Profiler* profiler = new profiling::Profiler(); in RunInference()
190 if (s->profiling) profiler->StartProfiling(); in RunInference()
205 if (s->profiling) { in RunInference()
326 s.profiling = in Main()
/external/tensorflow/tensorflow/contrib/hooks/
DREADME.md11 `Session.run()` and saves profiling information that can be viewed in a
18 hooks = [ProfilerHook(save_secs=30, output_dir="profiling")]
27 hooks = [ProfilerHook(save_steps=10, output_dir="profiling")]
/external/tensorflow/tensorflow/lite/profiling/
Dprofiler.h25 namespace profiling {
157 tflite::profiling::ScopedOperatorProfile VARNAME_UNIQ( \
164 namespace profiling {
/external/grpc-grpc/tools/profiling/microbenchmarks/bm_diff/
DREADME.md20 `tools/profiling/microbenchmarks/bm_diff/bm_main.py -b bm_error -l 5 -d master`
32 `tools/profiling/microbenchmarks/bm_diff/bm_main.py -b bm_error -l 5 -o`
57 `tools/profiling/microbenchmarks/bm_diff/bm_build.py -b bm_error -n baseline`
71 `tools/profiling/microbenchmarks/bm_diff/bm_run.py -b bm_error -b baseline -l 5`
86 `tools/profiling/microbenchmarks/bm_diff/bm_diff.py -b bm_error -o baseline -n current -l 5`
102 `tools/profiling/microbenchmarks/bm_diff/bm_main.py -b bm_error -l 5 -d master`
115 `tools/profiling/microbenchmarks/bm_diff/bm_main.py -b bm_error -l 5 -o old`
/external/grpc-grpc/tools/internal_ci/linux/
Dgrpc_microbenchmark_diff.sh28 tools/internal_ci/linux/run_if_c_cpp_modified.sh tools/profiling/bloat/bloat_diff.py \
30 tools/internal_ci/linux/run_if_c_cpp_modified.sh tools/profiling/microbenchmarks/bm_diff/bm_main.py…
/external/python/cpython3/Doc/library/
Dprofile.rst17 single: deterministic profiling
18 single: profiling, deterministic
20 :mod:`cProfile` and :mod:`profile` provide :dfn:`deterministic profiling` of
26 profiling interface:
29 reasonable overhead that makes it suitable for profiling long-running
54 provides a very brief overview, and allows a user to rapidly perform profiling
222 and gathers profiling statistics from the execution. If no file name is
224 instance and prints a simple profiling report. If the sort value is specified,
236 and gathers profiling statistics as in the :func:`run` function above.
240 This class is normally only used if more precise control over profiling is
[all …]
/external/python/cpython2/Doc/library/
Dprofile.rst17 single: deterministic profiling
18 single: profiling, deterministic
20 :mod:`cProfile` and :mod:`profile` provide :dfn:`deterministic profiling` of
26 profiling interface:
29 reasonable overhead that makes it suitable for profiling long-running
45 the overhead of profiling, at the expense of longer data
77 provides a very brief overview, and allows a user to rapidly perform profiling
239 and gathers profiling statistics from the execution. If no file name is
241 instance and prints a simple profiling report. If the sort value is specified
253 and gathers profiling statistics as in the :func:`run` function above.
[all …]
Dhotshot.rst20 The :mod:`hotshot` module focuses on minimizing the overhead while profiling, at
80 allowed to propagate cleanly, while ensuring that profiling is disabled on the
87 string is compiled before profiling begins.
109 This module loads hotshot profiling data into the standard :mod:`pstats` Stats

12345678910>>...14