class_docstr: Test suite to check that the profiling tools are working properly
  during training and benchmark evaluation
code: def test_profiler(self) -> None:
      with in_temporary_directory() as output_dir:
          config = self._create_config(force_legacy_profiler=False)
          run_integration_test(config)
          files = set(os.listdir(output_dir))
          print(files)
          self.assertIn("cuda_time_rank0.txt", files)
          self.assertIn("cuda_memory_usage_rank0.txt", files)
          self.assertIn("cpu_time_rank0.txt", files)
          self.assertIn("profiler_chrome_trace_rank0.json", files)
  
file_path: vissl/tests/test_profiler.py
imports: import os
  import unittest
  from vissl.utils.hydra_config import compose_hydra_configuration, convert_to_attrdict
  from vissl.utils.test_utils import gpu_test, in_temporary_directory, run_integration_test
label_desc: Use image node_id 2 for calling the TestProfiler obj's underlying member method code with example usage: obj.test_profiler() without return types