Home
last modified time | relevance | path

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

123456

/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/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/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/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/autotest/server/
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])
Dprofilers.py5 from autotest_lib.server import profiler, autotest, standalone_profiler, hosts
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]
266 for profiler in self.list:
[all …]
/external/v8/src/inspector/
Dv8-heap-profiler-agent-impl.cc97 v8::HeapProfiler* profiler = isolate->GetHeapProfiler(); in objectByHeapObjectId() local
98 v8::Local<v8::Value> value = profiler->FindObjectById(id); in objectByHeapObjectId()
207 v8::HeapProfiler* profiler = m_isolate->GetHeapProfiler(); in disable() local
208 if (profiler) profiler->StopSamplingHeapProfiler(); in disable()
216 v8::HeapProfiler* profiler = m_isolate->GetHeapProfiler(); in takeHeapSnapshot() local
217 if (!profiler) return Response::Error("Cannot access v8 heap profiler"); in takeHeapSnapshot()
224 profiler->TakeHeapSnapshot(progress.get(), &resolver); in takeHeapSnapshot()
321 v8::HeapProfiler* profiler = m_isolate->GetHeapProfiler(); in startSampling() local
322 if (!profiler) return Response::Error("Cannot access v8 heap profiler"); in startSampling()
330 profiler->StartSamplingHeapProfiler( in startSampling()
[all …]
/external/swiftshader/src/Main/
DSwiftConfig.cpp30 extern Profiler profiler;
457 profiler.reset(); in page()
466 html += "<p>FPS: " + ftoa(profiler.FPS) + "</p>\n"; in profile()
467 html += "<p>Frame: " + itoa(profiler.framesTotal) + "</p>\n"; in profile()
470 int texTime = (int)(1000 * profiler.cycles[PERF_TEX] / profiler.cycles[PERF_PIXEL] + 0.5); in profile()
471 int shaderTime = (int)(1000 * profiler.cycles[PERF_SHADER] / profiler.cycles[PERF_PIXEL] + 0.5); in profile()
472 int pipeTime = (int)(1000 * profiler.cycles[PERF_PIPE] / profiler.cycles[PERF_PIXEL] + 0.5); in profile()
473 int ropTime = (int)(1000 * profiler.cycles[PERF_ROP] / profiler.cycles[PERF_PIXEL] + 0.5); in profile()
474 int interpTime = (int)(1000 * profiler.cycles[PERF_INTERP] / profiler.cycles[PERF_PIXEL] + 0.5); in profile()
487 …double averageRopOperations = profiler.ropOperationsTotal / std::max(profiler.framesTotal, 1) / 1.… in profile()
[all …]
/external/autotest/utils/
Dtest_importer.py138 for profiler in models.Profiler.objects.all():
140 profiler.name)
142 logging.info("Removing %s", profiler.name)
143 _log_or_execute(repr(profiler), profiler.delete)
161 for profiler in models.Profiler.objects.all():
163 profiler.name)
164 logging.info("Removing %s", profiler.name)
165 _log_or_execute(repr(profiler), profiler.delete)
181 for profiler in profilers:
182 name = os.path.basename(profiler)
[all …]
/external/autotest/client/common_lib/
Dprofiler_manager.py23 def load_profiler(self, profiler, args, dargs): argument
30 def add(self, profiler, *args, **dargs): argument
32 new_profiler = self.load_profiler(profiler, args, dargs)
36 def delete(self, profiler): argument
38 self.list = [p for p in self.list if p.name != profiler]
/external/python/cpython2/Doc/library/
Dhotshot.rst2 :mod:`hotshot` --- High performance logging profiler
6 :synopsis: High performance logging profiler, mostly written in C.
31 The :mod:`hotshot` profiler does not yet work well with threads. It is useful to
32 use an unthreaded script to run the profiler over the code you're interested in
38 The profiler object. The argument *logfile* is the name of a log file to use for
61 Close the logfile and terminate the profiler.
66 Return the file descriptor of the profiler's log file.
92 Start the profiler.
97 Stop the profiler.
/external/chromium-trace/catapult/systrace/profile_chrome/
Dprofiler_unittest.py9 from profile_chrome import profiler
25 result = profiler.CaptureProfile(self._tracing_options, 1, [fake_agent_1])
36 result = profiler.CaptureProfile(self._tracing_options, 1,
49 result = profiler.CaptureProfile(self._tracing_options, 1,
/external/autotest/server/samples/
Dprofilertest.srv10 for profiler in profilers:
12 % str(profiler)[1:-1])
20 for profiler in profilers:
21 control_file.append("job.profilers.delete('%s')" % profiler[0])
23 params = ["\n".join(control_file), "profile-" + profiler[0], at.host]
/external/autotest/client/tests/profiler_test/
Dcontrol8 Tests a profiler (adds it, starts it, waits a couple of seconds then it
9 stops it, generates the profiler report and removes it).
12 job.run_test('profiler_test', profiler='oprofile')
/external/autotest/client/profilers/mpstat/
Dmpstat.py5 from autotest_lib.client.bin import profiler
8 class mpstat(profiler.profiler):
/external/autotest/client/profilers/vmstat/
Dvmstat.py8 from autotest_lib.client.bin import profiler
11 class vmstat(profiler.profiler):
/external/autotest/client/profilers/cpistat/
Dcpistat.py8 from autotest_lib.client.bin import profiler
10 class cpistat(profiler.profiler):

123456