diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2015-08-06 18:03:59 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2015-08-06 18:03:59 +0200 |
commit | 38fdfd8b69ba5ae747915bbdbb3066d29611437d (patch) | |
tree | b56f22c3c80c3d67863160593ce47f89bc8de05d /dma/ipe_benchmark.c | |
parent | 81de1a078b5c54c81b869564d33ed3e025bb695e (diff) | |
download | pcitool-38fdfd8b69ba5ae747915bbdbb3066d29611437d.tar.gz pcitool-38fdfd8b69ba5ae747915bbdbb3066d29611437d.tar.bz2 pcitool-38fdfd8b69ba5ae747915bbdbb3066d29611437d.tar.xz pcitool-38fdfd8b69ba5ae747915bbdbb3066d29611437d.zip |
Disable STREAMING_CHECKS for better performance
Diffstat (limited to 'dma/ipe_benchmark.c')
-rw-r--r-- | dma/ipe_benchmark.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dma/ipe_benchmark.c b/dma/ipe_benchmark.c index f8e0a7e..3ce04d3 100644 --- a/dma/ipe_benchmark.c +++ b/dma/ipe_benchmark.c @@ -166,7 +166,7 @@ double dma_ipe_benchmark(pcilib_dma_context_t *vctx, pcilib_dma_engine_addr_t dm for (bytes = 0; bytes < size; bytes += rbytes) { err = read_dma(ctx->dmactx.pcilib, 0, addr, size - bytes, PCILIB_DMA_FLAG_MULTIPACKET, PCILIB_DMA_TIMEOUT, buf + bytes, &rbytes); if (err) { - pcilib_error("Can't read data from DMA, error %i", err); + pcilib_error("Can't read data from DMA (iteration: %zu, offset: %zu), error %i", iter, bytes, err); return -1; } } |