MCPcopy Create free account
hub / github.com/alibaba/MNN / end

Method end

tools/cpp/Profiler.cpp:112–118  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110}
111
112void Profiler::end(const OperatorInfo* info) {
113 mEndTime = getTime();
114 float cost = (float)(mEndTime - mStartTime) / 1000.0f;
115 mMapByType[info->type()].costTime += cost;
116 mMapByName[info->name()].costTime += cost;
117 mTotalTime += cost;
118}
119
120static void printTable(const char* title, const std::vector<std::string>& header,
121 const std::vector<std::vector<std::string>>& data) {

Callers 15

writeFuncFunction · 0.45
getExtFunction · 0.45
haveImageWriterFunction · 0.45
findContoursFunction · 0.45
FillEdgeCollectionFunction · 0.45
mergeRegionsFunction · 0.45
TESTFunction · 0.45
getModuleInputsFunction · 0.45
CalibrationMethod · 0.45

Calls 3

getTimeFunction · 0.85
typeMethod · 0.45
nameMethod · 0.45

Tested by 15

TESTFunction · 0.36
mainFunction · 0.36
test_mainFunction · 0.36
mainFunction · 0.36
mainFunction · 0.36
compareForwadTypeFunction · 0.36
mainFunction · 0.36
mainFunction · 0.36
_zerosFunction · 0.36
runMethod · 0.36
runMethod · 0.36
runAllMethod · 0.36