8000 添加功能说明,和代码步骤 · home-coder/ring-buffer@b3a69e6 · GitHub
[go: up one dir, main page]

Skip to content

Commit b3a69e6

Browse files
committed
添加功能说明,和代码步骤
1 parent 1b68d3e commit b3a69e6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,8 @@ http://www.cnblogs.com/Anker/p/3481373.html
55
2.结合mmap函数,将mmap出来的数据当做测试数据,来测试kfifo的性能
66
注意mmap对应块设备如磁盘 USB等,但是不能对应流设备如串口等
77
另外参数length的长度必须是4096 的整数倍
8+
9+
10+
目前已通过helper目录下测试代码,测试mmap的使用,并使用内存设备直接代替具体的物理设备如dongle等。
11+
12+
下面就可以通过把helper的代码集成到test.c中就可以完全实现kfifo与mmap的综合应用了

0 commit comments

Comments
 (0)
0