From 6ddb30c8076f91c4b3351767fce8bcfcccc864f1 Mon Sep 17 00:00:00 2001 From: wuziniu Date: Tue, 31 Oct 2023 16:10:12 -0400 Subject: [PATCH] workload execution with Snowset trace --- workloads/IMDB_extended/run_repeating_analytics.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/workloads/IMDB_extended/run_repeating_analytics.py b/workloads/IMDB_extended/run_repeating_analytics.py index 33b1d3bc..0c9b5cdf 100644 --- a/workloads/IMDB_extended/run_repeating_analytics.py +++ b/workloads/IMDB_extended/run_repeating_analytics.py @@ -300,7 +300,6 @@ def noop(_signal, _frame): qidx = query_order.pop() logger.debug("Executing qidx: %d", qidx) - query = query_bank[qidx] # using the average of the best two engines as approximation of brad runtime runtime = ( np.sum(all_query_runtime[qidx]) - np.min(all_query_runtime[qidx]) @@ -611,8 +610,8 @@ def main(): for i in range(args.num_clients): start_queue[i].get() - global EXECUTE_START_TIME - EXECUTE_START_TIME = datetime.now().astimezone(pytz.utc) + # global EXECUTE_START_TIME + # EXECUTE_START_TIME = datetime.now().astimezone(pytz.utc) if num_client_trace is not None: assert args.time_scale_factor is not None, "need to set args.time_scale_factor"