Mercurial > hg > Members > Moririn
comparison src/parallel_execution/generate_stub.pl @ 464:7d67c9cf09ee
Rename from Time interface to Timer interface
author | Tatsuki IHA <innparusu@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 21 Dec 2017 00:07:27 +0900 |
parents | 8d7e5d48cad3 |
children | 831b7f6fd687 |
comparison
equal
deleted
inserted
replaced
463:b3a2246e3218 | 464:7d67c9cf09ee |
---|---|
484 print $fd "${prev}GET_META($dataGear)->wait = createSynchronizedQueue(context);\n"; | 484 print $fd "${prev}GET_META($dataGear)->wait = createSynchronizedQueue(context);\n"; |
485 } | 485 } |
486 for my $i (0..$inputCount-1) { | 486 for my $i (0..$inputCount-1) { |
487 print $fd "${prev}context->task->data[context->task->idg+$i] = (union Data*)@dataGears[$i];\n"; | 487 print $fd "${prev}context->task->data[context->task->idg+$i] = (union Data*)@dataGears[$i];\n"; |
488 } | 488 } |
489 | |
490 for my $i (0..$outputCount-1) { | 489 for my $i (0..$outputCount-1) { |
491 print $fd "${prev}context->task->data[context->task->odg+$i] = (union Data*)@dataGears[$inputCount+$i];\n"; | 490 print $fd "${prev}context->task->data[context->task->odg+$i] = (union Data*)@dataGears[$inputCount+$i];\n"; |
492 } | 491 } |
493 my $putTask = << "EOFEOF"; | 492 my $putTask = << "EOFEOF"; |
494 ${prev}element = &ALLOCATE(context, Element)->Element; | 493 ${prev}element = &ALLOCATE(context, Element)->Element; |