pub unsafe extern "C" fn nn_tensor_io_time(
tensor: *mut NNTensor,
) -> i64Expand description
Returns the I/O time information stored in the tensor. The time is returned in nanoseconds of the duration of the last map/unmap pair. When tensors are mapped to the CPU (no accelerator engine is loaded) then times are expected to be zero time as no mapping is actually required and the internal pointer is simply returned. When an accelerator engine is used, such as OpenVX, then the io_time measures the time the map/unmap or copy operations took to complete.
@param tensor Pointer to the tensor object.
@return Nanoseconds of time spent in the map/unmap calls.
@public @memberof NNTensor @since 2.1