summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimo Dritschler <timo.dritschler@kit.edu>2019-11-28 11:17:37 +0100
committerTimo Dritschler <timo.dritschler@kit.edu>2019-11-28 11:17:37 +0100
commitca020f15da6fbd11bef2f00c3d5736c7b772ecca (patch)
treede426c1fc8e45d367cd4bc72f2a1c1b014e14767
parent8cb6d1301a4d6759dd605e835e3f553149cfb31d (diff)
downloadpcitool-ca020f15da6fbd11bef2f00c3d5736c7b772ecca.tar.gz
pcitool-ca020f15da6fbd11bef2f00c3d5736c7b772ecca.tar.bz2
pcitool-ca020f15da6fbd11bef2f00c3d5736c7b772ecca.tar.xz
pcitool-ca020f15da6fbd11bef2f00c3d5736c7b772ecca.zip
Converted from bzr repo to git repo
-rw-r--r--.gitignore (renamed from .bzrignore)0
-rwxr-xr-xtests/ipedma/bench.sh40
2 files changed, 0 insertions, 40 deletions
diff --git a/.bzrignore b/.gitignore
index ac8c487..ac8c487 100644
--- a/.bzrignore
+++ b/.gitignore
diff --git a/tests/ipedma/bench.sh b/tests/ipedma/bench.sh
deleted file mode 100755
index aa7ec25..0000000
--- a/tests/ipedma/bench.sh
+++ /dev/null
@@ -1,40 +0,0 @@
-#!/bin/bash
-
-size=65536
-
-function pci {
- PCILIB_PATH=`pwd`/../../..
- LD_LIBRARY_PATH="$PCILIB_PATH" $PCILIB_PATH/pci -m kapture $*
-}
-
-
-rm -f bench.out
-
-echo "Stopping DMA and skipping exiting data..."
-pci --stop-dma dma0r
-echo "Starting DMA..."
-pci --start-dma dma0r
-echo "Enabling data generation..."
-pci -w 0x4 0x1
-
-# Clean DMA buffers
-#while [ $? -eq 0 ]; do
-# pci -r dma0 -s 65536 &> /dev/null
-#done
-
-echo "Reading the data from DMA..."
-for i in `seq 1 100`; do
- pci -r dma0 --multipacket -s $size -o bench.out
- if [ $? -ne 0 ]; then
- echo "Stopping DMA due to the error..."
- pci --stop-dma dma0r
- exit
- fi
-done
-
-echo "Stopping DMA..."
-pci --stop-dma dma0r
-
-../../../apps/check_counter bench.out
-
-#pci -r 0 -s 32