Add final srceen to the benchmark process

Also moved blocks of information around.
This commit is contained in:
2018-08-03 17:46:00 +02:00
parent e6dfebbfd7
commit eca235f3df
3 changed files with 118 additions and 20 deletions

View File

@@ -42,6 +42,9 @@ class DefaultProgressProvider:
def scene(self, scene_name):
pass
def scene_stats(self, scene_name, stats):
pass
PROGRESS_PROVIDER = DefaultProgressProvider()
@@ -67,6 +70,9 @@ def step(step_name):
def scene(scene_name):
PROGRESS_PROVIDER.scene(scene_name)
def scene_stats(scene_name, stats):
PROGRESS_PROVIDER.scene_stats(scene_name, stats)
def setProvider(provider):
"""