code: def get_actual_time(r, s, pbar):
      dims = MatmulSize(
          M=_M.value,
          N=_N.value,
          K=_K.value,
          quantized_lhs=_QUANTIZED_LHS.value,
          quantized_rhs=_QUANTIZED_RHS.value,
      )
      return benchmark_matmul(
          dims=dims,
          pbar=pbar,
          shared_stream=s,
          tilings=[
              MatmulTiling(
                  r.block_m,
                  r.block_n,
                  r.block_k,
                  r.split_k,
                  MatrixLayout(r.lhs_layout),
                  MatrixLayout(r.rhs_layout),
                  MatrixLayout(r.result_layout),
                  r.num_stages,
                  r.num_warps,
              )
          ],
          repetitions_ms=300,
      )[0].min_time_ms
  
file_path: tensorflow/third_party/xla/xla/experiments/triton_autotuning/check_csv.py
imports: import sys
  from absl import app
  from absl import flags
  from matmul_lib import benchmark_matmul
  from matmul_lib import MatmulSize
  from matmul_lib import MatmulTiling
  from matmul_lib import MatrixLayout
  from matmul_lib import QuantizedInputType
  import pandas
  import torch
  import tqdm
label_desc: Use image node_id 1 for calling a global function with example usage: get_actual_time(r, s, pbar) and returns: benchmark_matmul