#include #include #include #include "e2work1.h" #define N 1000 void init(payload_t *p) { p->val1 = random(); p->val2 = (double)random()*0.000000001; p->val3 = (float)random()*0.000000001; p->val4 = random(); p->val5 = random(); p->val6 = random(); p->val7 = random(); p->val8 = random(); p->val9 = random(); } void mainarray(int v) { size_t i; long r=0; payload_t a[N]; for (i=0; i