diff options
author | Paul Sherwood <paul.sherwood@codethink.co.uk> | 2014-12-20 11:27:06 +0000 |
---|---|---|
committer | Paul Sherwood <paul.sherwood@codethink.co.uk> | 2014-12-20 11:27:06 +0000 |
commit | 5f384d58bea19842208d56695cec48d70483de60 (patch) | |
tree | ec8316741f00fe1a567072ebd9398619426498b9 /ybd.py | |
parent | 5c3b2279c3d823f89fc937854fc925e29b808920 (diff) | |
download | ybd-5f384d58bea19842208d56695cec48d70483de60.tar.gz |
Log commands to a file
Diffstat (limited to 'ybd.py')
-rwxr-xr-x | ybd.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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'): |