Commit 26912590 authored by Wes Brewer's avatar Wes Brewer Committed by Brewer, Wes
Browse files

Fix issue with end time of simulation for philly traces

parent 9512db29
Loading
Loading
Loading
Loading
+9 −4
Original line number Diff line number Diff line
@@ -322,9 +322,14 @@ def load_data(files, **kwargs):

            print(job)

    # Find max end timestamp across jobs
    #end_ts = max(j.end_time for j in jobs_list if j.end_time is not None)
    end_ts = 3600
#        if len(jobs_list) >= 5: 
#            break

        # Find max end timestamp across jobs, relative to first job
        end_ts = max(j.end_time for j in jobs_list if j.end_time is not None)

    # Absolute end_ts
    end_ts = start_ts + end_ts

    return WorkloadData(
        jobs=jobs_list,