Skip to content

Commit

Permalink
Jack Changes
Browse files Browse the repository at this point in the history
  • Loading branch information
TeachMeTW committed Oct 15, 2024
1 parent 9c418c8 commit 5ba94d7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions emission/storage/decorations/stats_queries.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,7 @@ def store_dashboard_time(code_fragment_name: str, timer: ec_timer.Timer):
- timer (ec_timer.Timer): The Timer object that records the execution duration.
"""
# Extract the elapsed time in seconds and convert to milliseconds
elapsed_seconds = timer.elapsed # Access the elapsed time in seconds
elapsed_ms = elapsed_seconds * 1000 # Convert to milliseconds
elapsed_ms = timer.elapsed * 1000 # Convert to milliseconds

# Get the current timestamp in seconds since epoch
timestamp = time.time()
Expand Down

0 comments on commit 5ba94d7

Please sign in to comment.