summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2019-01-20 14:39:12 -0500
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2019-01-24 13:02:08 -0500
commit51ed36def9bd9195e61d8f969fe5f49144aae224 (patch)
tree892e6a3e5feb8b5912df76cb363abb8ef4e5eca5
parent353293b6c5bcbe7d65d95a3a484b2d7c739e74ac (diff)
downloadbuildstream-51ed36def9bd9195e61d8f969fe5f49144aae224.tar.gz
_frontend/widget.py: Added cache usage entry in the startup heading
-rw-r--r--buildstream/_frontend/widget.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/buildstream/_frontend/widget.py b/buildstream/_frontend/widget.py
index c43856145..c5353bc43 100644
--- a/buildstream/_frontend/widget.py
+++ b/buildstream/_frontend/widget.py
@@ -452,6 +452,7 @@ class LogLine(Widget):
values["Session Start"] = starttime.strftime('%A, %d-%m-%Y at %H:%M:%S')
values["Project"] = "{} ({})".format(project.name, project.directory)
values["Targets"] = ", ".join([t.name for t in stream.targets])
+ values["Cache Usage"] = "{}".format(context.get_artifact_cache_usage())
text += self._format_values(values)
# User configurations