view example/word_count_test/WordCount.h @ 748:249e91be9152 draft

add ViewerDevice
author hiroki
date Mon, 25 Jan 2010 19:18:03 +0900
parents 87040ec6b5f6
children 54f0180cea0f
line wrap: on
line source


typedef struct wordCount {
    struct wordCount *self;
    int size;             // remaining file size
    int division_size;    // for each word count task
    int division_out_size;    
    int out_size;    
    int task_num;         // remaining task count
    int task_blocks;      // spawn task one at a time
    int status_num; 
    int task_spwaned;
    unsigned long long *o_data;
    unsigned long long *head_tail_flag;
    int out_task_num;
    int pad; 
    char * file_mmap;
    HTaskPtr t_print;
} WordCount;