8 int main(
int argc,
char *argv[])
10 int i, msgSize, nServices, pid;
11 char *msg, servName[64];
15 sscanf(argv[1],
"%d",&msgSize);
16 sscanf(argv[2],
"%d",&nServices);
17 msg =
new char[msgSize];
21 for(i = 0; i < nServices; i++)
23 sprintf(servName,
"BENCH_SERVICE_%d_%03d",pid, i);
24 services[
i] =
new DimService(servName,
"C", msg, msgSize);
26 sprintf(servName,
"BENCH_%d",pid);
30 for(i = 0; i < nServices; i++)
int main(int argc, char *argv[])
sprintf(name1,"NewService%d", i)