code: def test_meta_schedule_profiler_context_manager():
      with ms.Profiler() as profiler:
          time.sleep(1)
          with ms.Profiler.timeit("Level0"):
              time.sleep(1)
              with ms.Profiler.timeit("Level1"):
                  time.sleep(2)
      # Note that the results are in seconds
  
      result = profiler.get()
      assert len(result) == 3
      assert 3.9 <= result["Total"] <= 4.1
      assert 2.9 <= result["Level0"] <= 3.1
      assert 1.9 <= result["Level1"] <= 2.1
  
imports: import time
  from tvm import meta_schedule
label_desc: Use image node_id 1 for calling a global function with example usage: test_meta_schedule_profiler_context_manager() without return types