Cleanup lttng-gen-tp: remove leading underscore before include guard
[lttng-ust.git] / tests / benchmark / ptime
1 #!/usr/bin/python
2
3 import sys
4 import time
5 import os
6
7 def 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
22 main()
This page took 0.040209 seconds and 4 git commands to generate.