Mercurial > hg > Members > kono > Cerium
diff TaskManager/Cell/spe/ShowTime.cc @ 672:3b6290c05f9f
add profiling code
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 05 Dec 2009 20:20:08 +0900 |
parents | Renderer/Engine/spe/ShowTime.cc@735f76483bb2 |
children | e015a4e5e4b0 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/TaskManager/Cell/spe/ShowTime.cc Sat Dec 05 20:20:08 2009 +0900 @@ -0,0 +1,18 @@ +#include "ShowTime.h" +#include "stdio.h" +#include "SchedTask.h" + +SchedDefineTask(ShowTime); + +static int +run(SchedTask *smanager, void *rbuf, void *wbuf) +{ + /* + * ここで show_dma_wait() を呼びたい + */ + smanager->show_dma_wait(); + //printf("Show Time !\n"); + + return 0; +} +