code: def test_function_decorator(self):
      counter = monitoring.Counter(
          "test/funcdecorator", "test func decorator"
      )
  
      @monitoring.monitored_timer(counter.get_cell())
      def timed_function(seconds):
          time.sleep(seconds)
  
      timed_function(0.001)
      self.assertGreater(counter.get_cell().value(), 1000)
  
file_path: tensorflow/tensorflow/python/eager/monitoring_test.py
imports: import time
  from tensorflow.python.eager import monitoring
  from tensorflow.python.eager import test
  from tensorflow.python.framework import test_util
label_desc: Use image node_id 11 for calling the MonitoringTest obj's underlying member method code with example usage: obj.test_function_decorator() without return types