Mercurial > hg > Members > kono > Cerium
comparison example/dependency_task/spe/Exec.cc @ 1015:80b18af207c2
debug mail timing.
author | yutaka@localhost.localdomain |
---|---|
date | Fri, 05 Nov 2010 22:25:33 +0900 |
parents | ab866bc8a624 |
children |
comparison
equal
deleted
inserted
replaced
1010:44b2c4cb539d | 1015:80b18af207c2 |
---|---|
6 SchedDefineTask(Exec); | 6 SchedDefineTask(Exec); |
7 | 7 |
8 static int | 8 static int |
9 run(SchedTask *s, void *rbuf, void *wbuf) | 9 run(SchedTask *s, void *rbuf, void *wbuf) |
10 { | 10 { |
11 | |
11 int *idata = (int*)s->get_input(rbuf, 0); | 12 int *idata = (int*)s->get_input(rbuf, 0); |
12 int *odata = (int*)s->get_output(wbuf, 0); | 13 int *odata = (int*)s->get_output(wbuf, 0); |
13 int length = (long)s->get_param(0); | 14 int length = (long)s->get_param(0); |
14 int calnum = (long)s->get_param(1); | 15 int calnum = (long)s->get_param(1); |
15 | 16 |