Home | History | Annotate | Download | only in test

Lines Matching refs:profiler

65     def run_test(self, callable, events, profiler=None):

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)
80 profiler.close()
108 profiler = self.new_profiler()
109 profiler.start()
110 profiler.stop()
111 profiler.close()
143 # Make sure stats can be loaded when start and stop of profiler
145 profiler = self.new_profiler()
146 start(profiler)
147 profiler.stop()
148 profiler.close()