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-04-14 16:54:30 +0900
commit9aaa0b0d7e33637ef9b60678b97f9f346489dd88 (patch)
tree880c4fd99572c670388bd90b112348abf705a1b7
parentfa606120b827ed92f310f3832c0362848650d6a6 (diff)
downloadbuildstream-9aaa0b0d7e33637ef9b60678b97f9f346489dd88.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 3a41e1052..a772f3248 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