Mercurial > hg > Game > Cerium
view example/renew_task/spe/Renew4.cc @ 898:302ebfc75a79 draft
merge
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 16 Jul 2010 19:00:49 +0900 |
parents | 839e34d0cc3c |
children |
line wrap: on
line source
#include <stdio.h> #include "Renew4.h" #include "SpeProfile.h" #include "Func.h" /* これは必須 */ SchedDefineTask(Renew4); static int run(SchedTask *s, void *rbuf, void *wbuf) { SpeProfile *profile = (SpeProfile*) s->global_get(0); profile->ProfStop(); profile->ProfPrint(); s->printf("[SPE] ** running Renew4\n"); s->printf("[SPE] ** finish Renew4\n"); s->global_free(0); return 0; }