TimeTracker
time_tracker(label, profile, track_type=TrackType.MODEL.value)
Track the time taken to execute a block of code Args: label (str): The name of the block profile (dict): The profile to store the time track_type (str): The type of tracking
Source code in Agent/utils/time_tracker.py
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
|