/external/slf4j/slf4j-ext/src/test/java/org/slf4j/profiler/ |
D | ProfilerTest.java | 25 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 …]
|
D | NestedProfilerDemo2.java | 25 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()
|
D | BasicProfilerDemo.java | 25 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()
|
D | NestedProfilerDemo.java | 25 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/autotest/client/bin/ |
D | profilers.py | 8 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/ |
D | control.profilers | 16 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/ |
D | control.octane | 18 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)
|
D | control.vp8 | 18 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/ |
D | control | 19 profiler = None 25 if 'profiler' in args_dict: 26 profiler = args_dict['profiler'] 30 if profiler: 32 job.profilers.add(profiler, p_args) 43 if profiler: 44 job.profilers.delete (profiler)
|
/external/slf4j/slf4j-ext/src/main/java/org/slf4j/profiler/ |
D | ProfilerRegistry.java | 25 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/ |
D | standalone_profiler.py | 24 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])
|
D | profilers.py | 5 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/vogar/src/vogar/target/ |
D | MainRunner.java | 45 public boolean run(Profiler profiler) { in run() argument 48 if (profiler != null) { in run() 49 profiler.start(); in run() 57 if (profiler != null) { in run() 58 profiler.stop(); in run()
|
D | CaliperRunner.java | 43 public boolean run(Profiler profiler) { in run() argument 71 if (profiler != null) { in run() 72 profiler.start(); in run() 80 if (profiler != null) { in run() 81 profiler.stop(); in run()
|
/external/vogar/src/vogar/android/ |
D | AndroidProfiler.java | 55 private Object profiler; field in AndroidProfiler 68 this.profiler = newThreadSet.newInstance(depth, threadSet); in setup() 82 start.invoke(profiler, interval); in start() 90 stop.invoke(profiler); in stop() 98 shutdown.invoke(profiler); in shutdown() 101 write.invoke(null, getHprofData.invoke(profiler), out); in shutdown()
|
/external/vogar/src/vogar/target/junit/ |
D | JUnitRunner.java | 60 public boolean run(Profiler profiler) { in run() argument 70 runWithTimeout(profiler, test); in run() 86 private void runWithTimeout(final Profiler profiler, final VogarTest test) { in runWithTimeout() argument 96 if (profiler != null) { in runWithTimeout() 97 profiler.start(); in runWithTimeout() 104 if (profiler != null) { in runWithTimeout() 105 profiler.stop(); in runWithTimeout()
|
/external/v8/test/cctest/ |
D | test-cpu-profiler.cc | 168 CpuProfiler profiler(isolate, profiles, &generator, processor.get()); in TEST() local 173 profiler.CodeCreateEvent(i::Logger::FUNCTION_TAG, aaa_code, *aaa_name); in TEST() 174 profiler.CodeCreateEvent(i::Logger::BUILTIN_TAG, comment_code, "comment"); in TEST() 175 profiler.CodeCreateEvent(i::Logger::STUB_TAG, args5_code, 5); in TEST() 176 profiler.CodeCreateEvent(i::Logger::BUILTIN_TAG, comment2_code, "comment2"); in TEST() 177 profiler.CodeMoveEvent(comment2_code->address(), moved_code->address()); in TEST() 178 profiler.CodeCreateEvent(i::Logger::STUB_TAG, args3_code, 3); in TEST() 179 profiler.CodeCreateEvent(i::Logger::STUB_TAG, args4_code, 4); in TEST() 229 CpuProfiler profiler(isolate, profiles, &generator, processor.get()); in TEST() local 231 profiler.CodeCreateEvent(i::Logger::BUILTIN_TAG, frame1_code, "bbb"); in TEST() [all …]
|
D | cctest.status | 74 # The cpu profiler tests are notoriously flaky. 75 # BUG(2999). (test/cpu-profiler/CollectCpuProfile) 76 # BUG(3287). (test-cpu-profiler/SampleWhenFrameIsNotSetup) 77 'test-cpu-profiler/CollectCpuProfile': [SKIP], 78 'test-cpu-profiler/CollectCpuProfileSamples': [SKIP], 79 'test-cpu-profiler/FunctionApplySample': [SKIP], 80 'test-cpu-profiler/FunctionCallSample': [SKIP], 81 'test-cpu-profiler/SampleWhenFrameIsNotSetup': [SKIP], 82 'test-cpu-profiler/HotDeoptNoFrameEntry': [SKIP], 83 'test-cpu-profiler/BoundFunctionCall': [SKIP], [all …]
|
/external/autotest/utils/ |
D | test_importer.py | 138 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/ |
D | profiler_manager.py | 23 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/autotest/server/samples/ |
D | profilertest.srv | 10 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/ |
D | control | 8 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/chromium-trace/catapult/telemetry/telemetry/internal/platform/profiler/ |
D | android_screen_recorder_profiler_unittest.py | 10 from telemetry.internal.platform.profiler import ( 21 profiler = ( 27 result = profiler.CollectProfile()[0]
|
/external/autotest/client/profilers/mpstat/ |
D | mpstat.py | 5 from autotest_lib.client.bin import profiler 8 class mpstat(profiler.profiler):
|
/external/autotest/client/profilers/vmstat/ |
D | vmstat.py | 8 from autotest_lib.client.bin import profiler 11 class vmstat(profiler.profiler):
|