MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / GetProfilingInfo

Method GetProfilingInfo

tensorflow/lite/delegates/gpu/cl/cl_command_queue.cc:206–214  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

204}
205
206ProfilingInfo ProfilingCommandQueue::GetProfilingInfo() const {
207 ProfilingInfo result;
208 result.dispatches.resize(events_.size());
209 for (int i = 0; i < events_.size(); ++i) {
210 result.dispatches[i].label = events_[i].GetName();
211 result.dispatches[i].time_ns = events_[i].GetEventTimeNs();
212 }
213 return result;
214}
215
216Status ProfilingCommandQueue::GetBestWorkGroupIndex(
217 const CLKernel& kernel, const DeviceInfo& device_info, const int3& grid,

Callers 1

ProfileMethod · 0.80

Calls 4

GetEventTimeNsMethod · 0.80
resizeMethod · 0.45
sizeMethod · 0.45
GetNameMethod · 0.45

Tested by

no test coverage detected