Hi, I am trying to use %%timeit to measure a DMA data transfer time but I get an error, is there another way to measure the processing time needed?
%%timeit
def run_kernel():
dma.sendchannel.transfer(in_buffer)
dma.recvchannel.transfer(out_buffer)
hog_accel.write(0x00,0x81) # start
dma.sendchannel.wait()
dma.recvchannel.wait()
run_kernel()