code: def test_function_profile_options(condition, print_freq):
      bar = fp.profile(condition=condition, print_freq=print_freq)(foo)
      for i in range(3):
          bar(1, 2)
      bar.profiler.print_stats(reset=False)
      bar.profiler.print_stats(reset=True)
      bar = fp.profile(foo)
      for i in range(3):
          bar(1, 2)
  
file_path: nnabla/python/test/utils/test_function_profile.py
imports: import time
  import pytest
  import nnabla.utils.function_profile
label_desc: Use image node_id 6 for calling a global function with example usage: test_function_profile_options(condition, print_freq) without return types