MCPcopy Create free account
hub / github.com/NVIDIA/TensorRT / printProlog

Function printProlog

samples/common/sampleReporting.cpp:111–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109} // namespace
110
111void printProlog(int32_t warmups, int32_t timings, float warmupMs, float benchTimeMs, std::ostream& os)
112{
113 os << "Warmup completed " << warmups << " queries over " << warmupMs << " ms" << std::endl;
114 os << "Timing trace has " << timings << " queries over " << benchTimeMs / 1000 << " s" << std::endl;
115}
116
117void printTiming(std::vector<InferenceTime> const& timings, int32_t runsPerAvg, std::ostream& os)
118{

Callers 1

printPerformanceReportFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected