Skip to content

Commit

Permalink
bexhoma: print more details about times (generator, loader)
Browse files Browse the repository at this point in the history
  • Loading branch information
perdelt committed Jan 19, 2024
1 parent 7814db2 commit 480964f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bexhoma/configurations.py
Original file line number Diff line number Diff line change
Expand Up @@ -2329,11 +2329,11 @@ def check_load_data(self):
print("Loader timespan:", total_time)
if len(timing_datagenerator) > 0 and len(timing_sensor) > 0:
timing_total = timing_datagenerator + timing_sensor
print("Total timespan (sum)", timing_total)
print("Total times:", timing_total)
timing_start = min([start for (start,end) in timing_total])
timing_end = max([end for (start,end) in timing_total])
total_time = timing_end - timing_start
print("Total timespan (first to last)", total_time)
print("Total timespan (first to last):", total_time)
now = datetime.utcnow()
now_string = now.strftime('%Y-%m-%d %H:%M:%S')
time_now = str(datetime.now())
Expand Down

0 comments on commit 480964f

Please sign in to comment.