diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2015-04-27 02:28:57 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2015-04-27 02:28:57 +0200 |
commit | e1265fa32837f457ee2c2fa259d12c9545af4bbf (patch) | |
tree | 64b8d5f1c81c14f019047b0cb00cb77c2dcecf55 /tests/dma/ipe | |
parent | a37beb44d59cca329d0d9345c21505af81030688 (diff) | |
download | ipecamera-e1265fa32837f457ee2c2fa259d12c9545af4bbf.tar.gz ipecamera-e1265fa32837f457ee2c2fa259d12c9545af4bbf.tar.bz2 ipecamera-e1265fa32837f457ee2c2fa259d12c9545af4bbf.tar.xz ipecamera-e1265fa32837f457ee2c2fa259d12c9545af4bbf.zip |
First stand-alone ipecamera implementation
Diffstat (limited to 'tests/dma/ipe')
-rwxr-xr-x | tests/dma/ipe/bench.sh | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/tests/dma/ipe/bench.sh b/tests/dma/ipe/bench.sh deleted file mode 100755 index aa7ec25..0000000 --- a/tests/dma/ipe/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 |