I have created a simple python program using the pypcie package on Linux(Ubuntu) so that I can access a 1GB DDR3 memory on an fpga board through pcie. I want to test the throughput of my program when writing 1GB to the DDR3 module and reading 1GB from the DDR3 module separately. Is there a way to do this?
time.monotoinc()ortime.perf_counter(), depending on the expected duration, or wanted precision.