MCPcopy Create free account
hub / github.com/OAID/Tengine / reset

Method reset

driver/cpu/cpu_runner.cpp:59–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57 bool started;
58
59 void reset(void)
60 {
61 for(unsigned int i = 0; i < records.size(); i++)
62 {
63 struct perf_info* p_info = &records.at(i);
64 memset(p_info, 0x0, sizeof(struct perf_info));
65 p_info->min = 1000000;
66 p_info->base = 1; // 1ms
67 }
68
69 real_number = 0;
70 }
71
72 GraphPerfStatBuf()
73 {

Callers 5

SetNodeOpFunction · 0.45
SetNodePortMethod · 0.45
SetOpMethod · 0.45
SetGraphPerfStatMethod · 0.45
ClassifierMethod · 0.45

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected