| NetGetPerfProfile Method |
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.
Namespace:
OpenCvSharp.Dnn
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax public long GetPerfProfile(
out double[] timings
)
Public Function GetPerfProfile (
<OutAttribute> ByRef timings As Double()
) As Long
public:
long long GetPerfProfile(
[OutAttribute] array<double>^% timings
)
member GetPerfProfile :
timings : float[] byref -> int64
Parameters
- timings
- Type: SystemDouble
vector for tick timings for all layers.
Return Value
Type:
Int64overall ticks for model inference.
See Also