Mercurial > hg > Members > kono > Cerium
comparison example/renew_task/spe/Renew4.cc @ 310:c59d8927c4d1
remove smanager
author | e065746@localhost.localdomain |
---|---|
date | Mon, 08 Jun 2009 20:31:29 +0900 |
parents | 58fd16298954 |
children | b89ba1d96fff |
comparison
equal
deleted
inserted
replaced
309:8ec2f3e61ee1 | 310:c59d8927c4d1 |
---|---|
7 SchedDefineTask(Renew4); | 7 SchedDefineTask(Renew4); |
8 | 8 |
9 int | 9 int |
10 Renew4::run(void *rbuf, void *wbuf) | 10 Renew4::run(void *rbuf, void *wbuf) |
11 { | 11 { |
12 SpeProfile *profile = (SpeProfile*)smanager->global_get(0); | 12 SpeProfile *profile = (SpeProfile*) global_get(0); |
13 profile->ProfStop(); | 13 profile->ProfStop(); |
14 profile->ProfPrint(); | 14 profile->ProfPrint(); |
15 | 15 |
16 printf("[SPE] ** running Renew4\n"); | 16 printf("[SPE] ** running Renew4\n"); |
17 | 17 |
18 printf("[SPE] ** finish Renew4\n"); | 18 printf("[SPE] ** finish Renew4\n"); |
19 | 19 |
20 smanager->global_free(0); | 20 global_free(0); |
21 | 21 |
22 return 0; | 22 return 0; |
23 } | 23 } |