6 int main(
int argc,
char *argv[])
8 int i, msgSize, nServices, pid;
9 char *msg, servName[64];
12 sscanf(argv[1],
"%d",&msgSize);
13 sscanf(argv[2],
"%d",&nServices);
14 msg =
new char[msgSize];
19 for(i = 0; i < nServices; i++)
22 sprintf(servName,
"BENCH_SERVICE_%03d",i);
23 services[
i] =
new DimService(servName,
"C", msg, msgSize);
25 sprintf(servName,
"BENCH_%d",pid);
29 for(i = 0; i < nServices; i++)
int main(int argc, char *argv[])
sprintf(name1,"NewService%d", i)