Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while (!fin.eof()) {
- field_name[0] = '\0';
- fin >> field_name;
- if (0) {
- }
- PARAM(hotset_size)
- PARAM(hotset_frequency)
- PARAM(touch_data)
- PARAM(use_lseek)
- PARAM(write_after)
- PARAM(write_skip)
- PARAM(disk_size)
- PARAM(seq_read_percent)
- PARAM(seq_write_percent)
- PARAM(rand_read_percent)
- PARAM(seq_read_size)
- PARAM(seq_write_size)
- PARAM(rand_read_size)
- PARAM(run_time)
- PARAM(chains)
- PARAM(threads_per_disk)
- PARAM(delete_disks)
- else if (strcmp(field_name, "disk_path") == 0)
- {
- assert(n_disk_path < MAX_DISK_THREADS);
- fin >> field_value;
- disk_path[n_disk_path] = strdup(field_value);
- cout << "reading disk_path = " << disk_path[n_disk_path] << endl;
- n_disk_path++;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement