comparison src/parallel_execution/main.c @ 126:f57e9ffa7960

add comment rb_tree
author ikkun
date Wed, 14 Sep 2016 20:35:21 +0900
parents e3cba827d489
children a574ba0da60f
comparison
equal deleted inserted replaced
112:e3cba827d489 126:f57e9ffa7960
6 6
7 extern __code initContext(struct Context* context); 7 extern __code initContext(struct Context* context);
8 extern void allocator(struct Context* context); 8 extern void allocator(struct Context* context);
9 9
10 int cpu_num = 1; 10 int cpu_num = 1;
11 int length = 1024; 11 int length = 102400;
12 int split; 12 int split = 8;
13 int* array_ptr; 13 int* array_ptr;
14 14
15 void print_queue(struct Element* element) { 15 void print_queue(struct Element* element) {
16 while (element) { 16 while (element) {
17 printf("%d\n", element->task->key); 17 printf("%d\n", element->task->key);