getPerfProfileAsync method
Implementation
Future<(int, VecF64 layersTimes)> getPerfProfileAsync() async {
final p = calloc<ffi.Int64>();
final p1 = calloc<cvg.VecF64>();
return cvRunAsync0((callback) => cdnn.cv_dnn_Net_getPerfProfile(ref, p, p1, callback), (c) {
final rval = p.value;
calloc.free(p);
return c.complete((rval, VecF64.fromPointer(p1)));
});
}