Cleanup tests (2nd commit)
[deliverable/lttng-ust.git] / tests / benchmark / ptime
... / ...
CommitLineData
1#!/usr/bin/python
2
3import sys
4import time
5import os
6
7def main():
8 args = sys.argv[1:]
9 if len(args) < 1:
10 print "usage: %s COMMAND" % sys.argv[0]
11 sys.exit(1)
12
13 cmd = args[0]
14
15 t1 = time.time()
16 os.system(cmd)
17 1
18 t2 = time.time()
19
20 print (t2-t1)
21
22main()
This page took 0.023487 seconds and 5 git commands to generate.