code: def measure_time(t):
      def _():
          import time
  
          start = time.monotonic()
          t()
          print(f"The {t.__name__} took {time.monotonic() - start}s")
  
      _.__name__ = t.__name__
      return _
  
file_path: h2o-3/h2o-py/tests/testdir_algos/glm/pyunit_tweedie_p_and_phi_ml_estimation_large.py
imports: import sys
  import h2o
  from tests import pyunit_utils
  from h2o.estimators.glm import H2OGeneralizedLinearEstimator
label_desc: Use image node_id 8 for calling a global function with example usage: measure_time(t) and returns: _