code: def test_profile_dataloader(self) -> None:
      max_length = 10
      iterable = DummyIterable(max_length)
      with _get_torch_profiler() as p:
          timer = profile_dataloader(iterable, p)
      self.assertEqual(
          len(timer.recorded_durations["next(iter)"]), max_length
      )
  
file_path: tnt/tests/utils/data/test_profile_dataloader.py
imports: import unittest
  from typing import Iterator
  import torch
  from torch.profiler import ProfilerActivity
  from torchtnt.utils.data.profile_dataloader import profile_dataloader
  from torchtnt.utils.env import init_from_env
label_desc: Use image node_id 1 for calling the ProfileDataLoaderTest obj's underlying member method code with example usage: obj.test_profile_dataloader() without return types