comparison TaskManager/kernel/schedule/SchedTask.cc @ 1698:7673e2ad2623 draft

fix profile
author kkb
date Fri, 04 Oct 2013 19:44:09 +0900
parents 32bc4ea3557f
children 4a3b3ec582f2
comparison
equal deleted inserted replaced
1697:ef1099c41449 1698:7673e2ad2623
112 setup_outputData(); // we need write buffer before run() 112 setup_outputData(); // we need write buffer before run()
113 } 113 }
114 connector->dma_wait((DMA_READ + this->tag)); 114 connector->dma_wait((DMA_READ + this->tag));
115 void *read = get_input(readbuf, 0); void *write = get_output(writebuf, 0); 115 void *read = get_input(readbuf, 0); void *write = get_output(writebuf, 0);
116 // set param (if exist dim ) 116 // set param (if exist dim )
117 (*connector->start_dmawait_profile)();
117 if (list->dim) { 118 if (list->dim) {
118 multi_dimension(list, read, write,run); 119 multi_dimension(list, read, write,run);
119 } else { 120 } else {
120 run(this, read,write); 121 run(this, read,write);
121 } 122 }
123 (*connector->end_dmawait_profile)(&connector->global_busy_time);
122 connector->free_(readbuf); 124 connector->free_(readbuf);
123 // User 側で作る方法が必要... 125 // User 側で作る方法が必要...
124 // 書き込む領域がなければ無視 126 // 書き込む領域がなければ無視
125 if (atask->outData_count > 0) { 127 if (atask->outData_count > 0) {
126 // outListData.print(); 128 // outListData.print();