From 90600ff16055239cbc8f81faa6a28b5de228bb62 Mon Sep 17 00:00:00 2001 From: xiaosuGW Date: Mon, 23 Aug 2021 11:59:09 -0500 Subject: [PATCH] replace running_duration with total_time in the perf_window --- runtime/include/sandbox_set_as_complete.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/include/sandbox_set_as_complete.h b/runtime/include/sandbox_set_as_complete.h index efd061e..6568db8 100644 --- a/runtime/include/sandbox_set_as_complete.h +++ b/runtime/include/sandbox_set_as_complete.h @@ -51,7 +51,7 @@ sandbox_set_as_complete(struct sandbox *sandbox, sandbox_state_t last_state) runtime_sandbox_total_decrement(last_state); /* Admissions Control Post Processing */ - admissions_info_update(&sandbox->module->admissions_info, sandbox->running_duration / runtime_processor_speed_MHz); + admissions_info_update(&sandbox->module->admissions_info, sandbox->total_time / runtime_processor_speed_MHz); admissions_control_subtract(sandbox->admissions_estimate); perf_window_print(&sandbox->module->admissions_info.perf_window);