docstr: Test generating the summary report dictionary.
docstr_tok: ["Test","generating","the","summary","report","dictionary","."]
code: def test_times_summary(self):
      """Test generating the summary report dictionary."""
      with WorkflowProfiler() as wp:
          self.scale(self.test_image)
  
      tsum = wp.get_times_summary()
  
      self.assertSequenceEqual(list(tsum), [self.scale_call_name])
  
      times = tsum[self.scale_call_name]
  
      self.assertEqual(len(times), 6)
      self.assertEqual(times[0], 1)
  
imports: from __future__ import annotations
  import datetime
  import os
  import unittest
  from io import StringIO
  import torch
  import monai.transforms
  from monai.data import Dataset, ThreadDataLoader
  from monai.utils import first, optional_import
  from monai.utils.enums import CommonKeys
  from monai.utils.profiling import ProfileHandler, ProfileResult, WorkflowProfiler
  from tests.utils import SkipIfNoModule
label_desc: Use image node_id 8 for calling the TestWorkflowProfiler obj's underlying member method code with example usage: obj.test_times_summary() without return types