MCPcopy Create free account
hub / github.com/ARM-software/ComputeLibrary / reset

Method reset

tests/framework/instruments/PMU.cpp:90–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88}
89
90void PMU::reset()
91{
92 const int result = ioctl(_fd, PERF_EVENT_IOC_RESET, 0);
93 if (result == -1)
94 {
95 ARM_COMPUTE_ERROR_VAR("Failed to reset PMU counter: %d", errno);
96 }
97}
98} // namespace framework
99} // namespace test
100} // namespace arm_compute

Callers 2

initMethod · 0.45
startMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected