Mercurial > hg > Members > kono > Cerium
annotate example/renew_task/spe/Renew4.cc @ 1048:40cde8c1a6cd default tip
add ScaleXY (not for allExecute...)
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 08 Dec 2010 06:22:15 +0900 |
parents | 44c0bce54dcf |
children |
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 | |
467
44c0bce54dcf
fix all examples. test_render is not working now.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
356
diff
changeset
|
9 static int |
44c0bce54dcf
fix all examples. test_render is not working now.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
356
diff
changeset
|
10 run(SchedTask *s, void *rbuf, void *wbuf) |
192 | 11 { |
467
44c0bce54dcf
fix all examples. test_render is not working now.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
356
diff
changeset
|
12 SpeProfile *profile = (SpeProfile*) s->global_get(0); |
192 | 13 profile->ProfStop(); |
14 profile->ProfPrint(); | |
15 | |
467
44c0bce54dcf
fix all examples. test_render is not working now.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
356
diff
changeset
|
16 s->printf("[SPE] ** running Renew4\n"); |
192 | 17 |
467
44c0bce54dcf
fix all examples. test_render is not working now.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
356
diff
changeset
|
18 s->printf("[SPE] ** finish Renew4\n"); |
192 | 19 |
467
44c0bce54dcf
fix all examples. test_render is not working now.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
356
diff
changeset
|
20 s->global_free(0); |
192 | 21 |
22 return 0; | |
23 } |