Style fixes
This commit is contained in:
parent
8f382e22e8
commit
70f2768797
|
@ -174,6 +174,7 @@ def clean_metric_data(metric_matrix, metric_labels, session):
|
|||
del metric_labels[i]
|
||||
return matrix, metric_labels
|
||||
|
||||
|
||||
def save_execution_time(start_ts, fn, result):
|
||||
end_ts = time.time()
|
||||
exec_time = end_ts - start_ts
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
# Copyright (c) 2017-18, Carnegie Mellon University Database Group
|
||||
#
|
||||
import copy
|
||||
import numpy as np
|
||||
import time
|
||||
import numpy as np
|
||||
from pytz import timezone
|
||||
|
||||
from celery import shared_task
|
||||
|
@ -30,6 +30,7 @@ LOG = get_task_logger(__name__)
|
|||
# Only process workload containing this minimum amount of results
|
||||
MIN_WORKLOAD_RESULTS_COUNT = 5
|
||||
|
||||
|
||||
def save_execution_time(start_ts, fn):
|
||||
end_ts = time.time()
|
||||
exec_time = end_ts - start_ts
|
||||
|
|
Loading…
Reference in New Issue