summaryrefslogtreecommitdiff
path: root/benchmark/tb_grextras_delay.py
diff options
context:
space:
mode:
authorJosh Blum2013-04-13 16:09:26 -0700
committerJosh Blum2013-04-13 16:09:26 -0700
commitdd167fdc4271cfa6eb27fee97ab68f456d3e1eec (patch)
tree8ff0fbf8eecfbfcf9236a6fa839f4d6426999f79 /benchmark/tb_grextras_delay.py
parent332d4d256b706360d3df81d6c9f5c9fc7b876aed (diff)
downloadsandhi-dd167fdc4271cfa6eb27fee97ab68f456d3e1eec.tar.gz
sandhi-dd167fdc4271cfa6eb27fee97ab68f456d3e1eec.tar.bz2
sandhi-dd167fdc4271cfa6eb27fee97ab68f456d3e1eec.zip
gras: make the benchmarks time themselves
Diffstat (limited to 'benchmark/tb_grextras_delay.py')
-rw-r--r--benchmark/tb_grextras_delay.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/benchmark/tb_grextras_delay.py b/benchmark/tb_grextras_delay.py
index c24a440..2a68eb6 100644
--- a/benchmark/tb_grextras_delay.py
+++ b/benchmark/tb_grextras_delay.py
@@ -23,5 +23,7 @@ if __name__ == '__main__':
tb.connect(src0, (delay_block, 0))
tb.connect(delay_block, head, sink)
+ import time
+ s = time.time()
tb.run()
- tb.wait()
+ print '#/#/',time.time() - s