Mercurial > hg > Game > Cerium
view TaskManager/kernel/ppe/Task.cc @ 1551:57317332f6ef draft
create fft example
author | Yuhi TOMARI <yuhi@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 17 Feb 2013 12:59:12 +0900 |
parents | 1b225972ae88 |
children |
line wrap: on
line source
#include "Task.h" #include "Scheduler.h" void Task::print(Scheduler *s) { s->printf("task id %d task size = %d param size %d " "inData size %d " "outData size %d\n", command, size(), param_count, inData_count, outData_count ); for(int i=0; i< param_count && i<5; i++) { // large param_count shall be a bug s->printf("param %d = 0x%ld\n", i, (long)param(i)); } } /* end */