Mercurial > hg > Members > kono > Cerium
annotate example/renew_task/spe/Renew4.cc @ 298:58fd16298954
from EUC to UTF-8
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 07 Jun 2009 15:17:41 +0900 |
parents | 4f5c64e713c7 |
children | c59d8927c4d1 |
rev | line source |
---|---|
192 | 1 #include <stdio.h> |
2 #include "Renew4.h" | |
3 #include "SpeProfile.h" | |
4 #include "Func.h" | |
5 | |
298 | 6 /* これは必須 */ |
192 | 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 } |