Skip to content

Commit

Permalink
Update logger.py
Browse files Browse the repository at this point in the history
  • Loading branch information
hariharan-devarajan authored Aug 10, 2023
1 parent b808ed4 commit 19c77e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dlio_profiler/logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def wrapper(*args, **kwargs):
def iter(self, func, iter_name="step"):
if DLIO_PROFILER_ENABLED:
self._arguments[iter_name] = 1
name = f"{inspect.stack()[1].function}.iter"
name = f"{self._name}.iter"
kernal_name = f"{inspect.stack()[1].function}"
start = dlio_logger.get_instance().get_time()
for v in func:
Expand Down

0 comments on commit 19c77e2

Please sign in to comment.