3534 double starttime1 = 0;
3535 double jstarttime = 0;
3545 off64_t written_so_far, read_so_far, re_written_so_far,re_read_so_far;
3547 double min_throughput = 0;
3548 double max_throughput = 0;
3549 double avg_throughput = 0;
3550 double min_xfer = 0;
3555 ptotal=written_so_far=read_so_far=re_written_so_far=re_read_so_far=0 ;
3566 if((
long long)
shmaddr==(
long long)-1)
3571 printf(
"\nShared memory not working\n");
3610 if(!
silent) printf(
"\tEach %s writes a %ld Kbyte file in telemetry controlled records\n",
3613 if(!
silent) printf(
"\tEach %s writes a %lld Kbyte file in telemetry controlled records\n",
3620 if(!
silent) printf(
"\tEach %s writes a %ld Kbyte file in %ld Kbyte records\n",
3623 if(!
silent) printf(
"\tEach %s writes a %lld Kbyte file in %lld Kbyte records\n",
3631 myid = (
long long)getpid();
3660 printf(
"\nFork failed\n");
3661 for(xy = 0; xy< xx ; xy++){
3669 printf(
"Parent starting slot %ld\n",xx);
3671 printf(
"Parent starting slot %lld\n",xx);
3702 perror(
"Memory allocation failed:");
3715 printf(
"Thread create failed\n");
3716 for(xy = 0; xy< xx ; xy++){
3724 if((
long long)getpid() ==
myid)
3753 if((
long long)getpid() ==
myid) {
3759 printf(
"\n\tTest running:");
3778 if(jtime < (
double).000001)
3793 if(!
silent) printf(
"\nJoin time %10.2f\n",jtime);
3800 if(!
silent) printf(
"\n");
3846 if(!
silent) printf(
"\tMin throughput per %s \t\t\t= %10.2f %s/sec \n", port,min_throughput,unit);
3847 if(!
silent) printf(
"\tMax throughput per %s \t\t\t= %10.2f %s/sec\n", port,max_throughput,unit);
3848 if(!
silent) printf(
"\tAvg throughput per %s \t\t\t= %10.2f %s/sec\n", port,avg_throughput,unit);
3849 if(!
silent) printf(
"\tMin xfer \t\t\t\t\t= %10.2f %s\n", min_xfer,unit);
3855 if(!
silent) printf(
"\tCPU utilization: Wall time %8.3f CPU time %8.3f CPU utilization %6.2f %%\n\n",
3860 if(!
silent) printf(
"\tCPU Utilization: Wall time %8.3f CPU time %8.3f CPU utilization %6.2f %%\n\n",
3872 printf(
"\tChild[%ld] xfer count = %10.2f %s, Throughput = %10.2f %s/sec, wall=%6.3f, cpu=%6.3f, %%=%6.2f\n",
3878 if(!
silent) printf(
"\tChild[%ld] xfer count = %10.2f %s, Throughput = %10.2f %s/sec\n",
3930 printf(
"\nFork failed\n");
3931 for(xy = 0; xy< xx ; xy++){
3953 perror(
"Memory allocation failed:");
3965 printf(
"\nThread create failed\n");
3966 for(xy = 0; xy< xx ; xy++){
3967 Kill((
long long)
myid,(
long long)SIGTERM);
3974 if((
long long)
myid == getpid())
4001 if((
long long)
myid == getpid()){
4006 printf(
"\n\tTest running:");
4025 if(jtime < (
double).000001)
4040 if(!
silent) printf(
"\nJoin time %10.2f\n",jtime);
4047 min_throughput=max_throughput=min_xfer=0;
4048 if(!
silent) printf(
"\n");
4095 if(!
silent) printf(
"\tMin throughput per %s \t\t\t= %10.2f %s/sec \n", port,min_throughput,unit);
4096 if(!
silent) printf(
"\tMax throughput per %s \t\t\t= %10.2f %s/sec\n", port,max_throughput,unit);
4097 if(!
silent) printf(
"\tAvg throughput per %s \t\t\t= %10.2f %s/sec\n", port,avg_throughput,unit);
4098 if(!
silent) printf(
"\tMin xfer \t\t\t\t\t= %10.2f %s\n", min_xfer,unit);
4104 if(!
silent) printf(
"\tCPU utilization: Wall time %8.3f CPU time %8.3f CPU utilization %6.2f %%\n\n",
4109 if(!
silent) printf(
"\tCPU utilization: Wall time %8.3f CPU time %8.3f CPU utilization %6.2f %%\n\n",
4120 if(!
silent) printf(
"\tChild[%ld] xfer count = %10.2f %s, Throughput = %10.2f %s/sec, wall=%6.3f, cpu=%6.3f, %%=%6.2f\n",
4126 if(!
silent) printf(
"\tChild[%ld] xfer count = %10.2f %s, Throughput = %10.2f %s/sec\n",
4175 printf(
"\nFork failed\n");
4176 for(xy = 0; xy< xx ; xy++){
4198 perror(
"Memory allocation failed:");
4210 printf(
"\nThread create failed\n");
4211 for(xy = 0; xy< xx ; xy++){
4219 if(
myid == (
long long)getpid()){
4243 if(
myid == (
long long)getpid()){
4248 printf(
"\n\tTest running:");
4267 if(jtime < (
double).000001)
4282 if(!
silent) printf(
"\nJoin time %10.2f\n",jtime);
4287 min_throughput=max_throughput=min_xfer=0;
4288 if(!
silent) printf(
"\n");
4326 if(!
silent) printf(
"\tMin throughput per %s \t\t\t= %10.2f %s/sec \n", port,min_throughput,unit);
4327 if(!
silent) printf(
"\tMax throughput per %s \t\t\t= %10.2f %s/sec\n", port,max_throughput,unit);
4328 if(!
silent) printf(
"\tAvg throughput per %s \t\t\t= %10.2f %s/sec\n", port,avg_throughput,unit);
4329 if(!
silent) printf(
"\tMin xfer \t\t\t\t\t= %10.2f %s\n", min_xfer,unit);
4335 if(!
silent) printf(
"\tCPU utilization: Wall time %8.3f CPU time %8.3f CPU utilization %6.2f %%\n\n",
4340 if(!
silent) printf(
"\tCPU utilization: Wall time %8.3f CPU time %8.3f CPU utilization %6.2f %%\n\n",
4351 if(!
silent) printf(
"\tChild[%ld] xfer count = %10.2f %s, Throughput = %10.2f %s/sec, wall=%6.3f, cpu=%6.3f, %%=%6.2f\n",
4357 if(!
silent) printf(
"\tChild[%ld] xfer count = %10.2f %s, Throughput = %10.2f %s/sec\n",
4409 printf(
"\nFork failed\n");
4410 for(xy = 0; xy< xx ; xy++){
4433 perror(
"Memory allocation failed:");
4445 printf(
"\nThread create failed\n");
4446 for(xy = 0; xy< xx ; xy++){
4454 if(
myid == (
long long)getpid()){
4478 if(
myid == (
long long)getpid()){
4483 printf(
"\n\tTest running:");
4502 if(jtime < (
double).000001)
4517 if(!
silent) printf(
"\nJoin time %10.2f\n",jtime);
4519 min_throughput=max_throughput=min_xfer=0;
4522 if(!
silent) printf(
"\n");
4564 if(!
silent) printf(
"\tMin throughput per %s \t\t\t= %10.2f %s/sec \n", port,min_throughput,unit);
4565 if(!
silent) printf(
"\tMax throughput per %s \t\t\t= %10.2f %s/sec\n", port,max_throughput,unit);
4566 if(!
silent) printf(
"\tAvg throughput per %s \t\t\t= %10.2f %s/sec\n", port,avg_throughput,unit);
4567 if(!
silent) printf(
"\tMin xfer \t\t\t\t\t= %10.2f %s\n", min_xfer,unit);
4573 if(!
silent) printf(
"\tCPU utilization: Wall time %8.3f CPU time %8.3f CPU utilization %6.2f %%\n\n",
4578 if(!
silent) printf(
"\tCPU utilization: Wall time %8.3f CPU time %8.3f CPU utilization %6.2f %%\n\n",
4589 if(!
silent) printf(
"\tChild[%ld] xfer count = %10.2f %s, Throughput = %10.2f %s/sec, wall=%6.3f, cpu=%6.3f, %%=%6.2f\n",
4595 if(!
silent) printf(
"\tChild[%ld] xfer count = %10.2f %s, Throughput = %10.2f %s/sec\n",
4649 printf(
"\nFork failed\n");
4650 for(xy = 0; xy< xx ; xy++){
4673 perror(
"Memory allocation failed:");
4685 printf(
"\nThread create failed\n");
4686 for(xy = 0; xy< xx ; xy++){
4694 if(
myid == (
long long)getpid()){
4716 if(
myid == (
long long)getpid()){
4721 printf(
"\n\tTest running:");
4740 if(jtime < (
double).000001)
4755 if(!
silent) printf(
"\nJoin time %10.2f\n",jtime);
4759 min_throughput=max_throughput=min_xfer=0;
4760 if(!
silent) printf(
"\n");
4803 if(!
silent) printf(
"\tMin throughput per %s \t\t\t= %10.2f %s/sec \n", port,min_throughput,unit);
4804 if(!
silent) printf(
"\tMax throughput per %s \t\t\t= %10.2f %s/sec\n", port,max_throughput,unit);
4805 if(!
silent) printf(
"\tAvg throughput per %s \t\t\t= %10.2f %s/sec\n", port,avg_throughput,unit);
4806 if(!
silent) printf(
"\tMin xfer \t\t\t\t\t= %10.2f %s\n", min_xfer,unit);
4812 if(!
silent) printf(
"\tCPU utilization: Wall time %8.3f CPU time %8.3f CPU utilization %6.2f %%\n\n",
4817 if(!
silent) printf(
"\tCPU utilization: Wall time %8.3f CPU time %8.3f CPU utilization %6.2f %%\n\n",
4828 if(!
silent) printf(
"\tChild[%ld] xfer count = %10.2f %s, Throughput = %10.2f %s/sec, wall=%6.3f, cpu=%6.3f, %%=%6.2f\n",
4834 if(!
silent) printf(
"\tChild[%ld] xfer count = %10.2f %s, Throughput = %10.2f %s/sec\n",
4883 printf(
"\nFork failed\n");
4884 for(xy = 0; xy< xx ; xy++){
4907 perror(
"Memory allocation failed:");
4919 printf(
"\nThread create failed\n");
4920 for(xy = 0; xy< xx ; xy++){
4928 if(
myid == (
long long)getpid()){
4950 if(
myid == (
long long)getpid()){
4955 printf(
"\n\tTest running:");
4974 if(jtime < (
double).000001)
4989 if(!
silent) printf(
"\nJoin time %10.2f\n",jtime);
4993 min_throughput=max_throughput=min_xfer=0;
4994 if(!
silent) printf(
"\n");
5037 if(!
silent) printf(
"\tMin throughput per %s \t\t\t= %10.2f %s/sec \n", port,min_throughput,unit);
5038 if(!
silent) printf(
"\tMax throughput per %s \t\t\t= %10.2f %s/sec\n", port,max_throughput,unit);
5039 if(!
silent) printf(
"\tAvg throughput per %s \t\t\t= %10.2f %s/sec\n", port,avg_throughput,unit);
5040 if(!
silent) printf(
"\tMin xfer \t\t\t\t\t= %10.2f %s\n", min_xfer,unit);
5046 if(!
silent) printf(
"\tCPU utilization: Wall time %8.3f CPU time %8.3f CPU utilization %6.2f %%\n\n",
5051 if(!
silent) printf(
"\tCPU utilization: Wall time %8.3f CPU time %8.3f CPU utilization %6.2f %%\n\n",
5062 if(!
silent) printf(
"\tChild[%ld] xfer count = %10.2f %s, Throughput = %10.2f %s/sec, wall=%6.3f, cpu=%6.3f, %%=%6.2f\n",
5068 if(!
silent) printf(
"\tChild[%ld] xfer count = %10.2f %s, Throughput = %10.2f %s/sec\n",
5118 printf(
"\nFork failed\n");
5119 for(xy = 0; xy< xx ; xy++){
5142 perror(
"Memory allocation failed:");
5154 printf(
"\nThread create failed\n");
5155 for(xy = 0; xy< xx ; xy++){
5163 if(
myid == (
long long)getpid()){
5185 if(
myid == (
long long)getpid()){
5190 printf(
"\n\tTest running:");
5209 if(jtime < (
double).000001)
5224 if(!
silent) printf(
"\nJoin time %10.2f\n",jtime);
5228 min_throughput=max_throughput=min_xfer=0;
5229 if(!
silent) printf(
"\n");
5267 if(!
silent) printf(
"\tMin throughput per %s \t\t\t= %10.2f %s/sec \n", port,min_throughput,unit);
5268 if(!
silent) printf(
"\tMax throughput per %s \t\t\t= %10.2f %s/sec\n", port,max_throughput,unit);
5269 if(!
silent) printf(
"\tAvg throughput per %s \t\t\t= %10.2f %s/sec\n", port,avg_throughput,unit);
5270 if(!
silent) printf(
"\tMin xfer \t\t\t\t\t= %10.2f %s\n", min_xfer,unit);
5276 if(!
silent) printf(
"\tCPU utilization: Wall time %8.3f CPU time %8.3f CPU utilization %6.2f %%\n\n",
5281 if(!
silent) printf(
"\tCPU utilization: Wall time %8.3f CPU time %8.3f CPU utilization %6.2f %%\n\n",
5292 if(!
silent) printf(
"\tChild[%ld] xfer count = %10.2f %s, Throughput = %10.2f %s/sec, wall=%6.3f, cpu=%6.3f, %%=%6.2f\n",
5298 if(!
silent) printf(
"\tChild[%ld] xfer count = %10.2f %s, Throughput = %10.2f %s/sec\n",
5348 printf(
"\nFork failed\n");
5349 for(xy = 0; xy< xx ; xy++){
5372 perror(
"Memory allocation failed:");
5384 printf(
"\nThread create failed\n");
5385 for(xy = 0; xy< xx ; xy++){
5393 if(
myid == (
long long)getpid()){
5415 if(
myid == (
long long)getpid()){
5420 printf(
"\n\tTest running:");
5439 if(jtime < (
double).000001)
5454 if(!
silent) printf(
"\nJoin time %10.2f\n",jtime);
5458 min_throughput=max_throughput=min_xfer=0;
5459 if(!
silent) printf(
"\n");
5497 if(!
silent) printf(
"\tMin throughput per %s \t\t\t= %10.2f %s/sec \n", port,min_throughput,unit);
5498 if(!
silent) printf(
"\tMax throughput per %s \t\t\t= %10.2f %s/sec\n", port,max_throughput,unit);
5499 if(!
silent) printf(
"\tAvg throughput per %s \t\t\t= %10.2f %s/sec\n", port,avg_throughput,unit);
5500 if(!
silent) printf(
"\tMin xfer \t\t\t\t\t= %10.2f %s\n", min_xfer,unit);
5506 if(!
silent) printf(
"\tCPU utilization: Wall time %8.3f CPU time %8.3f CPU utilization %6.2f %%\n\n",
5511 if(!
silent) printf(
"\tCPU utilization: Wall time %8.3f CPU time %8.3f CPU utilization %6.2f %%\n\n",
5522 if(!
silent) printf(
"\tChild[%ld] xfer count = %10.2f %s, Throughput = %10.2f %s/sec, wall=%6.3f, cpu=%6.3f, %%=%6.2f\n",
5528 if(!
silent) printf(
"\tChild[%ld] xfer count = %10.2f %s, Throughput = %10.2f %s/sec\n",
5578 printf(
"\nFork failed\n");
5579 for(xy = 0; xy< xx ; xy++){
5602 perror(
"Memory allocation failed:");
5614 printf(
"\nThread create failed\n");
5615 for(xy = 0; xy< xx ; xy++){
5623 if(
myid == (
long long)getpid()){
5645 if(
myid == (
long long)getpid()){
5650 printf(
"\n\tTest running:");
5669 if(jtime < (
double).000001)
5684 if(!
silent) printf(
"\nJoin time %10.2f\n",jtime);
5688 min_throughput=max_throughput=min_xfer=0;
5689 if(!
silent) printf(
"\n");
5727 if(!
silent) printf(
"\tMin throughput per %s \t\t\t= %10.2f %s/sec \n", port,min_throughput,unit);
5728 if(!
silent) printf(
"\tMax throughput per %s \t\t\t= %10.2f %s/sec\n", port,max_throughput,unit);
5729 if(!
silent) printf(
"\tAvg throughput per %s \t\t\t= %10.2f %s/sec\n", port,avg_throughput,unit);
5730 if(!
silent) printf(
"\tMin xfer \t\t\t\t\t= %10.2f %s\n", min_xfer,unit);
5736 if(!
silent) printf(
"\tCPU utilization: Wall time %8.3f CPU time %8.3f CPU utilization %6.2f %%\n\n",
5741 if(!
silent) printf(
"\tCPU utilization: Wall time %8.3f CPU time %8.3f CPU utilization %6.2f %%\n\n",
5752 if(!
silent) printf(
"\tChild[%ld] xfer count = %10.2f %s, Throughput = %10.2f %s/sec, wall=%6.3f, cpu=%6.3f, %%=%6.2f\n",
5758 if(!
silent) printf(
"\tChild[%ld] xfer count = %10.2f %s, Throughput = %10.2f %s/sec\n",
5811 printf(
"\nFork failed\n");
5812 for(xy = 0; xy< xx ; xy++){
5819 thread_pwrite_test((
void *)xx);
5821 thread_pwrite_test((
void *)((
long)xx));
5835 perror(
"Memory allocation failed:");
5847 printf(
"\nThread create failed\n");
5848 for(xy = 0; xy< xx ; xy++){
5856 if(
myid == (
long long)getpid()){
5878 if(
myid == (
long long)getpid()){
5883 printf(
"\n\tTest running:");
5902 if(jtime < (
double).000001)
5917 if(!
silent) printf(
"\nJoin time %10.2f\n",jtime);
5921 min_throughput=max_throughput=min_xfer=0;
5922 if(!
silent) printf(
"\n");
5960 if(!
silent) printf(
"\tMin throughput per %s \t\t\t= %10.2f %s/sec \n", port,min_throughput,unit);
5961 if(!
silent) printf(
"\tMax throughput per %s \t\t\t= %10.2f %s/sec\n", port,max_throughput,unit);
5962 if(!
silent) printf(
"\tAvg throughput per %s \t\t\t= %10.2f %s/sec\n", port,avg_throughput,unit);
5963 if(!
silent) printf(
"\tMin xfer \t\t\t\t\t= %10.2f %s\n", min_xfer,unit);
5969 if(!
silent) printf(
"\tCPU utilization: Wall time %8.3f CPU time %8.3f CPU utilization %6.2f %%\n\n",
5974 if(!
silent) printf(
"\tCPU utilization: Wall time %8.3f CPU time %8.3f CPU utilization %6.2f %%\n\n",
5985 if(!
silent) printf(
"\tChild[%ld] xfer count = %10.2f %s, Throughput = %10.2f %s/sec, wall=%6.3f, cpu=%6.3f, %%=%6.2f\n",
5991 if(!
silent) printf(
"\tChild[%ld] xfer count = %10.2f %s, Throughput = %10.2f %s/sec\n",
6046 printf(
"\nFork failed\n");
6047 for(xy = 0; xy< xx ; xy++){
6054 thread_pread_test((
void *)xx);
6056 thread_pread_test((
void *)((
long)xx));
6070 perror(
"Memory allocation failed:");
6082 printf(
"\nThread create failed\n");
6083 for(xy = 0; xy< xx ; xy++){
6091 if(
myid == (
long long)getpid()){
6113 if(
myid == (
long long)getpid()){
6118 printf(
"\n\tTest running:");
6137 if(jtime < (
double).000001)
6152 if(!
silent) printf(
"\nJoin time %10.2f\n",jtime);
6156 min_throughput=max_throughput=min_xfer=0;
6157 if(!
silent) printf(
"\n");
6195 if(!
silent) printf(
"\tMin throughput per %s \t\t\t= %10.2f %s/sec \n", port,min_throughput,unit);
6196 if(!
silent) printf(
"\tMax throughput per %s \t\t\t= %10.2f %s/sec\n", port,max_throughput,unit);
6197 if(!
silent) printf(
"\tAvg throughput per %s \t\t\t= %10.2f %s/sec\n", port,avg_throughput,unit);
6198 if(!
silent) printf(
"\tMin xfer \t\t\t\t\t= %10.2f %s\n", min_xfer,unit);
6204 if(!
silent) printf(
"\tCPU utilization: Wall time %8.3f CPU time %8.3f CPU utilization %6.2f %%\n\n",
6209 if(!
silent) printf(
"\tCPU utilization: Wall time %8.3f CPU time %8.3f CPU utilization %6.2f %%\n\n",
6220 if(!
silent) printf(
"\tChild[%ld] xfer count = %10.2f %s, Throughput = %10.2f %s/sec, wall=%6.3f, cpu=%6.3f, %%=%6.2f\n",
6226 if(!
silent) printf(
"\tChild[%ld] xfer count = %10.2f %s, Throughput = %10.2f %s/sec\n",
6272 printf(
"\nFork failed\n");
6273 for(xy = 0; xy< xx ; xy++){
6295 perror(
"Memory allocation failed:");
6307 printf(
"\nThread create failed\n");
6308 for(xy = 0; xy< xx ; xy++){
6316 if(
myid == (
long long)getpid()){
6340 if(
myid == (
long long)getpid()){
6345 printf(
"\n\tTest running:");
6364 if(jtime < (
double).000001)
6379 if(!
silent) printf(
"\nJoin time %10.2f\n",jtime);
6384 min_throughput=max_throughput=min_xfer=0;
6385 if(!
silent) printf(
"\n");
6423 if(!
silent) printf(
"\tMin throughput per %s \t\t\t= %10.2f %s/sec \n", port,min_throughput,unit);
6424 if(!
silent) printf(
"\tMax throughput per %s \t\t\t= %10.2f %s/sec\n", port,max_throughput,unit);
6425 if(!
silent) printf(
"\tAvg throughput per %s \t\t\t= %10.2f %s/sec\n", port,avg_throughput,unit);
6426 if(!
silent) printf(
"\tMin xfer \t\t\t\t\t= %10.2f %s\n", min_xfer,unit);
6432 if(!
silent) printf(
"\tCPU utilization: Wall time %8.3f CPU time %8.3f CPU utilization %6.2f %%\n\n",
6437 if(!
silent) printf(
"\tCPU utilization: Wall time %8.3f CPU time %8.3f CPU utilization %6.2f %%\n\n",
6448 if(!
silent) printf(
"\tChild[%ld] xfer count = %10.2f %s, Throughput = %10.2f %s/sec, wall=%6.3f, cpu=%6.3f, %%=%6.2f\n",
6454 if(!
silent) printf(
"\tChild[%ld] xfer count = %10.2f %s, Throughput = %10.2f %s/sec\n",
6502 printf(
"\nFork failed\n");
6503 for(xy = 0; xy< xx ; xy++){
6525 perror(
"Memory allocation failed:");
6537 printf(
"\nThread create failed\n");
6538 for(xy = 0; xy< xx ; xy++){
6546 if(
myid == (
long long)getpid()){
6570 if(
myid == (
long long)getpid()){
6575 printf(
"\n\tTest running:");
6594 if(jtime < (
double).000001)
6609 if(!
silent) printf(
"\nJoin time %10.2f\n",jtime);
6614 min_throughput=max_throughput=min_xfer=0;
6615 if(!
silent) printf(
"\n");
6653 if(!
silent) printf(
"\tMin throughput per %s \t\t\t= %10.2f %s/sec \n", port,min_throughput,unit);
6654 if(!
silent) printf(
"\tMax throughput per %s \t\t\t= %10.2f %s/sec\n", port,max_throughput,unit);
6655 if(!
silent) printf(
"\tAvg throughput per %s \t\t\t= %10.2f %s/sec\n", port,avg_throughput,unit);
6656 if(!
silent) printf(
"\tMin xfer \t\t\t\t\t= %10.2f %s\n", min_xfer,unit);
6662 if(!
silent) printf(
"\tCPU utilization: Wall time %8.3f CPU time %8.3f CPU utilization %6.2f %%\n\n",
6667 if(!
silent) printf(
"\tCPU utilization: Wall time %8.3f CPU time %8.3f CPU utilization %6.2f %%\n\n",
6678 if(!
silent) printf(
"\tChild[%ld] xfer count = %10.2f %s, Throughput = %10.2f %s/sec, wall=%6.3f, cpu=%6.3f, %%=%6.2f\n",
6684 if(!
silent) printf(
"\tChild[%ld] xfer count = %10.2f %s, Throughput = %10.2f %s/sec\n",
6728 printf(
"\nFork failed\n");
6729 for(xy = 0; xy< xx ; xy++){
6753 printf(
"\nThread create failed\n");
6754 for(xy = 0; xy< xx ; xy++){
6755 Kill((
long long)
myid,(
long long)SIGTERM);
6762 if((
long long)
myid == getpid())
6786 if((
long long)
myid == getpid()){
6791 printf(
"\n\tTest cleanup:");
6829 if(!
silent) printf(
"\n");
6830 if(!
silent) printf(
"\n");
store_times(double walltime, double cputime)
void *() thread_rread_test()
struct child_stats * child_stat
start_monitor(char *test)
void *() thread_reverse_read_test()
#define THREAD_PWRITE_TEST
void *() thread_fread_test()
VOLATILE struct child_stats * shmaddr
void *() thread_stride_read_test()
#define THREAD_PREAD_TEST
#define THREAD_RANDOM_WRITE_TEST
void *() thread_fwrite_test()
void *() thread_rwrite_test()
char * barray[MAXSTREAMS]
char dummyfile[MAXSTREAMS][MAXNAMESIZE]
char filename[MAXNAMESIZE]
#define THREAD_REREAD_TEST
#define THREAD_WRITE_TEST
#define CHILD_STATE_BEGIN
#define THREAD_FREAD_TEST
void *() thread_ranread_test()
#define THREAD_RANDOM_READ_TEST
#define THREAD_REVERSE_READ_TEST
int start_master_listen()
void *() thread_ranwrite_test()
void stop_master_listen()
void *() thread_mix_test()
#define THREAD_RANDOM_MIX_TEST
#define THREAD_FWRITE_TEST
VOLATILE char * stop_flag
char * throughput_tests[]
char * filearray[MAXSTREAMS]
void tell_children_begin()
#define THREAD_CLEANUP_TEST
long long mythread_create()
long long start_child_proc()
long long childids[MAXSTREAMS+1]
int kill(__pid_t __pid, int __sig) __attribute__((__nothrow__
void start_master_listen_loop()
void *() thread_read_test()
#define THREAD_REWRITE_TEST
void *() thread_write_test()
static double time_so_far()
#define THREAD_STRIDE_TEST
void *() thread_cleanup_test()