forked from bws/xdd
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify -seek Command and Reduce Required Arguments (#34)
This commit improves seek file handling by adding metadata for the "Number of Requests" at the beginning of the seek file, eliminating the need to read the entire file to retrieve this value. The program now prioritizes the block size and request size specified in the seek file, replacing any values provided via the command line when the `-seek load` option is used. Additionally, this commit fixes a segmentation fault issue that occurred when no options were provided with the `-seek` command. Comments in the `xdd_func` array have also been updated to match the current function setup. A test script has been added to ensure the program correctly sets and maintains the block size, request size, and "Number of Requests" values during file loading. Signed-off-by: Cade Gore <[email protected]>
- Loading branch information
1 parent
4decae6
commit 1a3169d
Showing
8 changed files
with
303 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.