Method GetPerfProfile
- Namespace
- OpenCvSharp.Dnn
- Assembly
- OpenCvSharp.dll
GetPerfProfile(out double[])
Returns overall time for inference and timings (in ticks) for layers. Indexes in returned vector correspond to layers ids.Some layers can be fused with others, in this case zero ticks count will be return for that skipped layers.
public long GetPerfProfile(out double[] timings)
Parameters
timingsdouble[]vector for tick timings for all layers.
Returns
- long
overall ticks for model inference.