summaryrefslogtreecommitdiff
path: root/buildstream/_profile.py
diff options
context:
space:
mode:
authorJames Ennis <james.ennis@codethink.com>2019-01-18 17:20:42 +0000
committerJames Ennis <james.ennis@codethink.com>2019-01-21 10:17:15 +0000
commit1b2ccd66e84e685e8c3d515f5c0a234cb9e68a03 (patch)
tree578e0343b66d31155d891141f5d4911b78b11c24 /buildstream/_profile.py
parentc75953f7459b51ba336fd1de7a5aea8578a98a25 (diff)
downloadbuildstream-jennis/profiling_topics.tar.gz
_profile.py: Added a new profiling topic, load-selectionjennis/profiling_topics
profile_start() and profile_end() calls have been added to Stream.load_selection()
Diffstat (limited to 'buildstream/_profile.py')
-rw-r--r--buildstream/_profile.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/buildstream/_profile.py b/buildstream/_profile.py
index b293c342b..d977c5da2 100644
--- a/buildstream/_profile.py
+++ b/buildstream/_profile.py
@@ -46,6 +46,7 @@ class Topics():
LOAD_CONTEXT = 'load-context'
LOAD_PROJECT = 'load-project'
LOAD_PIPELINE = 'load-pipeline'
+ LOAD_SELECTION = 'load-selection'
SCHEDULER = 'scheduler'
SHOW = 'show'
ARTIFACT_RECEIVE = 'artifact-receive'