class_docstr: Tests for `log_latency`.
class_docstr_tok: ["Tests","for","`","log_latency","`","."]
code: def my_slow_function(self):
      # For test cases to decorate. (Defining this inside a test case
      # gives it an ugly qualname.)
      pass
  
file_path: tensorboard/tensorboard/util/timing_test.py
imports: import contextlib
  from tensorboard import test
  from tensorboard.util import tb_logging
  from tensorboard.util import timing
label_desc: Use image node_id 2 for calling the LogLatencyTest obj's underlying member method code with example usage: obj.my_slow_function() without return types