Advertisement
Guest User

Untitled

a guest
Jun 24th, 2016
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. while (!fin.eof()) {
  2. field_name[0] = '\0';
  3. fin >> field_name;
  4. if (0) {
  5. }
  6. PARAM(hotset_size)
  7. PARAM(hotset_frequency)
  8. PARAM(touch_data)
  9. PARAM(use_lseek)
  10. PARAM(write_after)
  11. PARAM(write_skip)
  12. PARAM(disk_size)
  13. PARAM(seq_read_percent)
  14. PARAM(seq_write_percent)
  15. PARAM(rand_read_percent)
  16. PARAM(seq_read_size)
  17. PARAM(seq_write_size)
  18. PARAM(rand_read_size)
  19. PARAM(run_time)
  20. PARAM(chains)
  21. PARAM(threads_per_disk)
  22. PARAM(delete_disks)
  23. else if (strcmp(field_name, "disk_path") == 0)
  24. {
  25. assert(n_disk_path < MAX_DISK_THREADS);
  26. fin >> field_value;
  27. disk_path[n_disk_path] = strdup(field_value);
  28. cout << "reading disk_path = " << disk_path[n_disk_path] << endl;
  29. n_disk_path++;
  30. }
  31. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement