Mercurial > hg > Game > Cerium
annotate example/renew_task/spe/Renew4.cc @ 201:9484318b3e8f draft
add SceneGraphIterator
author | gongo@gendarme.cr.ie.u-ryukyu.ac.jp |
---|---|
date | Mon, 26 Jan 2009 16:46:59 +0900 |
parents | 6694da357750 |
children | 768452fab95e cfd20d609ace |
rev | line source |
---|---|
192 | 1 #include <stdio.h> |
2 #include "Renew4.h" | |
3 #include "SpeProfile.h" | |
4 #include "Func.h" | |
5 | |
6 /* ¤³¤ì¤Ïɬ¿Ü */ | |
7 SchedDefineTask(Renew4); | |
8 | |
9 int | |
10 Renew4::run(void *rbuf, void *wbuf) | |
11 { | |
12 SpeProfile *profile = (SpeProfile*)smanager->global_get(0); | |
13 profile->ProfStop(); | |
14 profile->ProfPrint(); | |
15 | |
16 printf("[SPE] ** running Renew4\n"); | |
17 | |
18 printf("[SPE] ** finish Renew4\n"); | |
19 | |
20 smanager->global_free(0); | |
21 | |
22 return 0; | |
23 } |