write_time2 += threads[i].write_time2;
threads[i].read_count = threads[i].write_count = 0;
threads[i].read_time = threads[i].write_time = 0;
+ threads[i].read_time2 = threads[i].write_time2 = 0;
pthread_mutex_unlock(&threads[i].lock);
}
opt_duration = atoi(argv[5]);
opt_ops = atof(argv[6]);
opt_intervals = atoi(argv[7]);
- opt_dirsize = atoi(argv[7]);
+ opt_dirsize = atoi(argv[8]);
srandom(time(NULL));