Skip to content

Commit 04747cf

Browse files
committed
added bench-dma example
1 parent 9508a55 commit 04747cf

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -378,6 +378,14 @@ It may use files in these directories for DMA buffers:
378378
The program will report the exact file used.
379379
They can be inspected manually if needed, e.g. with hexdump: `hexdump -e '"%07_ax" " | " 4/8 "%08x " "\n"' [filename]`
380380
381+
Example usage:
382+
```
383+
for i in 0 1; do roc-config --i=#$i --clock=local --links=0-1 --tf=32 --byp --loop --dyn --force --datapathmode=streaming; done
384+
roc-bench-dma --i=#0 --fast --data=FEE --bypass
385+
o2-roc-ctp-emulator --id=#0 --trigger-mode=continuous --init-orbit=0x1e
386+
```
387+
388+
381389
### roc-cleanup
382390
In the event of a serious crash, such as a segfault, it may be necessary to clean up and reset.
383391
This tool serves this purpose and is intended to be run as root. Be aware that this will make every

0 commit comments

Comments
 (0)