MCPcopy Create free account
hub / github.com/NVIDIA/TensorRT-LLM / start

Method start

tensorrt_llm/profiler.py:58–59  ·  view source on GitHub ↗
(self, tag)

Source from the content-addressed store, hash-verified

56 self._total_elapsed_times = {}
57
58 def start(self, tag):
59 self._start_times[tag] = time.time()
60
61 def stop(self, tag) -> float:
62 elapsed_time = time.time() - self._start_times[tag]

Callers 15

initializeMethod · 0.45
_init_engineMethod · 0.45
initializeMethod · 0.45
apply_patchesFunction · 0.45
apply_patchesFunction · 0.45
apply_patchesFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
runFunction · 0.45
runFunction · 0.45

Calls

no outgoing calls

Tested by 3

apply_patchesFunction · 0.36
apply_patchesFunction · 0.36
apply_patchesFunction · 0.36