Mercurial > hg > Game > Cerium
changeset 1952:7459db74ec3e draft
merge
author | Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 06 Feb 2014 18:15:18 +0900 |
parents | da22fc4db5b2 (current diff) 1f297d3eacb1 (diff) |
children | 2509242d5a67 |
files | |
diffstat | 2 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/example/regex_mas/main.cc Thu Feb 06 18:14:49 2014 +0900 +++ b/example/regex_mas/main.cc Thu Feb 06 18:15:18 2014 +0900 @@ -253,7 +253,7 @@ if (divide_read_flag != 0) { printf("[divide read mode]\n"); - w->file_mmap = (char*)manager->allocate(sizeof(w->read_filesize)); + w->file_mmap = (char*)manager->allocate(w->read_filesize); }else { printf("[mmap mode]\n"); r_read = manager->create_task(MMAP , (memaddr)&w->self, sizeof(memaddr),0,0);
--- a/example/regex_mas/ppe/Exec.cc Thu Feb 06 18:14:49 2014 +0900 +++ b/example/regex_mas/ppe/Exec.cc Thu Feb 06 18:15:18 2014 +0900 @@ -45,9 +45,9 @@ o_data[0] = 0; o_data[0] = BM_method(i_data,length,search_word,sw_len,skip_table); - printf("match count : %llu\n",o_data[0]); - long task_count = (long)s->get_param(0); //何番目のtaskか - s->printf("[start exec No: %lld]\n",task_count+1); + //printf("match count : %llu\n",o_data[0]); + //long task_count = (long)s->get_param(0); //何番目のtaskか + //s->printf("[start exec No: %lld]\n",task_count+1); return 0;