comparison example/word_count/WordCount.h @ 947:a468a9784e87

add WordCount.h
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sun, 01 Aug 2010 21:06:49 +0900
parents
children 86aea6affe6c
comparison
equal deleted inserted replaced
946:a8b6ee80c108 947:a468a9784e87
1
2 typedef struct wordCount {
3 struct wordCount *self;
4 int size; // remaining file size
5 int division_size; // for each word count task
6 int division_out_size;
7 int out_size;
8 int task_num; // remaining task count
9 int task_blocks; // spawn task one at a time
10 int status_num;
11 int task_spwaned;
12 unsigned long long *o_data;
13 unsigned long long *head_tail_flag;
14 int out_task_num;
15 int pad;
16 char * file_mmap;
17 HTaskPtr t_print;
18 } WordCount;
19