getPerfProfile method

int getPerfProfile()

GetPerfProfile returns overall time for inference and timings (in ticks) for layers

For further details, please see: https://docs.opencv.org/master/db/d30/classcv_1_1dnn_1_1Net.html#a06ce946f675f75d1c020c5ddbc78aedc

Implementation

int getPerfProfile() {
  return cvRunArena<int>((arena) {
    final p = arena<ffi.Int64>();
    cvRun(() => cffi.Net_GetPerfProfile(ref, p));
    return p.value;
  });
}