comparison 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
comparison
equal deleted inserted replaced
671:f42b303044f7 672:3b6290c05f9f
1 #include "ShowTime.h"
2 #include "stdio.h"
3 #include "SchedTask.h"
4
5 SchedDefineTask(ShowTime);
6
7 static int
8 run(SchedTask *smanager, void *rbuf, void *wbuf)
9 {
10 /*
11 * ここで show_dma_wait() を呼びたい
12 */
13 smanager->show_dma_wait();
14 //printf("Show Time !\n");
15
16 return 0;
17 }
18