Skip to content

Commit

Permalink
workload execution with Snowset trace
Browse files Browse the repository at this point in the history
  • Loading branch information
wuziniu committed Oct 31, 2023
1 parent ba939a1 commit 6ddb30c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions workloads/IMDB_extended/run_repeating_analytics.py
Original file line number Diff line number Diff line change
Expand Up @@ -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])
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit 6ddb30c

Please sign in to comment.