MCPcopy Create free account
hub / github.com/CVCUDA/CV-CUDA / _parse_json_for_time

Function _parse_json_for_time

bench/python/perf_utils.py:807–815  ·  view source on GitHub ↗
(json_data)

Source from the content-addressed store, hash-verified

805 """
806
807 def _parse_json_for_time(json_data):
808 mean_all_procs = json_data["data_mean_all_procs"]
809 sample_name_key = list(mean_all_procs.keys())[0]
810
811 cpu_time_minus_warmup_per_item = mean_all_procs[sample_name_key]["run_sample"][
812 "pipeline"
813 ]["cpu_time_minus_warmup_per_item"]["mean"]
814
815 return cpu_time_minus_warmup_per_item
816
817 baseline_perf = {}
818 if os.path.isdir(baseline_run_root):

Callers 1

summarize_runsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected