Mercurial > hg > Members > masakoha > testcode
changeset 34:3e3365a17573
add realtime_input
author | Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 21 Nov 2014 12:18:03 +0900 |
parents | d6c2c8f4e826 |
children | a19e119d9f2b |
files | c/realtime_input/Makefile c/realtime_input/README c/realtime_input/main.cc c/realtime_input/read.h |
diffstat | 4 files changed, 30 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/c/realtime_input/Makefile Fri Nov 21 12:18:03 2014 +0900 @@ -0,0 +1,10 @@ +TARGET=realtime_input +OPTION= -Wall -O0 -g + +$(TARGET):main.cc + clang $(OPTION) -o $(TARGET) main.cc + +clean: + rm -f $(TARGET) + rm -r $(TARGET).dSYM + rm -f *~ \#*
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/c/realtime_input/README Fri Nov 21 12:18:03 2014 +0900 @@ -0,0 +1,9 @@ +(2013.11.11) +一括readと分割readの時間比較のためのプログラム + +"Usage : ./read_lseek [-file filename] [-b -d]" + +-b bulk read(一括read) +-d divide read(分割read) + +ONE_TASK_READ_SIZE にて分割サイズを変更できる。