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

Method ~PerfettoProfiler

src/common/utils/profile/acl_profile.cpp:57–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55}
56
57PerfettoProfiler::~PerfettoProfiler()
58{
59 if (tracing_session)
60 {
61 perfetto::TrackEvent::Flush();
62 tracing_session->StopBlocking();
63 auto data = tracing_session->ReadTraceBlocking();
64 std::ofstream out("acl.pftrace", std::ios::binary);
65 out.write(data.data(), data.size());
66 out.close();
67 }
68}
69
70#ifdef ARM_COMPUTE_CL
71void PerfettoProfiler::openclTraceBegin()

Callers

nothing calls this directly

Calls 3

dataMethod · 0.45
sizeMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected