class_docstr: Unit test for TimeProfiler.
class_docstr_tok: ["Unit","test","for","TimeProfiler","."]
code: def test_reset(self):
      tp = TimeProfiler()
      tp.enable()
      tp.record("no_op", "in")
      self.assertEqual(len(tp.time_record), 1)
  
      tp.reset()
      self.assertEqual(len(tp.time_record), 0)
  
imports: import json
  import unittest
  from pathlib import Path
  from towhee import pipe
  from towhee import ops, register
  from towhee.runtime.time_profiler import TimeProfiler
  from towhee.tools.profilers import PerformanceProfiler
label_desc: Use image node_id 3 for calling the TestTimeProfiler obj's underlying member method code with example usage: obj.test_reset() without return types