Mercurial > hg > Members > kono > Cerium
annotate example/renew_task/spe/Renew4.cc @ 356:b89ba1d96fff
merge heads
author | aaa |
---|---|
date | Fri, 17 Jul 2009 15:04:02 +0900 |
parents | 81b25e5d5379 c59d8927c4d1 |
children | 44c0bce54dcf |
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 { | |
310 | 12 SpeProfile *profile = (SpeProfile*) global_get(0); |
192 | 13 profile->ProfStop(); |
14 profile->ProfPrint(); | |
15 | |
16 printf("[SPE] ** running Renew4\n"); | |
17 | |
18 printf("[SPE] ** finish Renew4\n"); | |
19 | |
310 | 20 global_free(0); |
192 | 21 |
22 return 0; | |
23 } |