Exemple #1
0
 def exec_bench_wperfstat(self, cmd, iostatout, mpstatout, perfout):
     from profileutils import io_stat_watcher, mp_stat_watcher, perf_stat_watcher
     with io_stat_watcher(iostatout), mp_stat_watcher(
             mpstatout), perf_stat_watcher(perfout):
         return self.exec_bench(cmd)
 def exec_bench_wperfstat(self, cmd, iostatout, mpstatout, perfout):
     from profileutils import io_stat_watcher, mp_stat_watcher, perf_stat_watcher
     with io_stat_watcher(iostatout), mp_stat_watcher(mpstatout), perf_stat_watcher(perfout):
         return self.exec_bench(cmd)
 def exec_bench_wstat(self, cmd, nthreads, fpaths, iostatout, mpstatout):
     from profileutils import io_stat_watcher, mp_stat_watcher
     with io_stat_watcher(iostatout), mp_stat_watcher(mpstatout):
         return self.exec_bench(cmd, nthreads, fpaths)