Mercurial > hg > Game > Cerium
view TaskManager/Cell/spe/ShowTime.cc @ 672:27fec8c70c9c draft
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@3bc98f6d31ff |
children | 382a48afb061 |
line wrap: on
line source
#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; }