diff options
author | Paul Sherwood <paul.sherwood@codethink.co.uk> | 2015-05-16 00:45:29 +0000 |
---|---|---|
committer | Paul Sherwood <paul.sherwood@codethink.co.uk> | 2015-05-16 01:36:40 +0000 |
commit | 5db63cec71d3a961214ec2ed9819095dbe51db3e (patch) | |
tree | e09b1d76f879b3e1cb6b260936f5cee350ad1acb /ybd.py | |
parent | b28c4b6e987c215f3f2c69f9fca343a5b7828214 (diff) | |
download | ybd-5db63cec71d3a961214ec2ed9819095dbe51db3e.tar.gz |
Log the version of definitions we are working with
Diffstat (limited to 'ybd.py')
-rwxr-xr-x | ybd.py | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -26,12 +26,14 @@ import app from assembly import assemble, deploy import sandbox + print target = sys.argv[1] arch = sys.argv[2] + with app.setup(target, arch): - with app.timer('TOTAL', 'YBD starts'): - with app.timer('DEFINITIONS', 'Parsing'): + with app.timer('TOTAL', 'YBD starts in %s' % app.settings['defdir']): + with app.timer('DEFINITIONS', 'Parsing %s' % app.settings['def-ver']): defs = Definitions() with app.timer('CACHE-KEYS', 'Calculating'): cache.get_cache(app.settings['target']) |