summaryrefslogtreecommitdiff
path: root/ybd.py
diff options
context:
space:
mode:
authorPaul Sherwood <paul.sherwood@codethink.co.uk>2014-12-20 11:27:06 +0000
committerPaul Sherwood <paul.sherwood@codethink.co.uk>2014-12-20 11:27:06 +0000
commit5f384d58bea19842208d56695cec48d70483de60 (patch)
treeec8316741f00fe1a567072ebd9398619426498b9 /ybd.py
parent5c3b2279c3d823f89fc937854fc925e29b808920 (diff)
downloadybd-5f384d58bea19842208d56695cec48d70483de60.tar.gz
Log commands to a file
Diffstat (limited to 'ybd.py')
-rwxr-xr-xybd.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ybd.py b/ybd.py
index 37e6d1c..b9f2f6c 100755
--- a/ybd.py
+++ b/ybd.py
@@ -30,8 +30,8 @@ import sandbox
path, target = os.path.split(sys.argv[1])
target = target.replace('.def', '')
arch = sys.argv[2]
-with app.timer('TOTAL', 'YBD starts'):
- with app.setup(target, arch):
+with app.setup(target, arch):
+ with app.timer('TOTAL', 'YBD starts'):
defs = Definitions()
definition = defs.get(target)
with app.timer('CACHE-KEYS', 'Calculating'):