39 |
|
|
40 |
|
#define PACKSIZ 256 /* max. calculation packet size */ |
41 |
|
|
42 |
< |
#define RTCOM "rtrace -h- -ovl -fff " |
42 |
> |
#define RTCOM "rtrace -h- -ovl -fff -ld- -i- -I- " |
43 |
|
|
44 |
|
#define ABS(x) ((x)>0?(x):-(x)) |
45 |
|
|
1169 |
|
} |
1170 |
|
/* mark end and get results */ |
1171 |
|
bzero((char *)fbp, 6*sizeof(float)); |
1172 |
< |
if (process(PDesc, fbuf, fbuf, 4*sizeof(float)*queuesiz, |
1172 |
> |
if (process(PDesc, fbuf, fbuf, 4*sizeof(float)*(queuesiz+1), |
1173 |
|
6*sizeof(float)*(queuesiz+1)) != |
1174 |
< |
4*sizeof(float)*queuesiz) { |
1174 |
> |
4*sizeof(float)*(queuesiz+1)) { |
1175 |
|
fprintf(stderr, "%s: error reading from rtrace process\n", |
1176 |
|
progname); |
1177 |
|
exit(1); |