History | View | Annotate | Download (5 kB)
bench: Track elapsed time for each timer
Also, create two functions timespecsub() and timespecadd() that cansubtract and add two timespec structs.
bench: Improve benchmark results
Changes include:
Add a fallback clock for portability reasons
Refactor struct bench and appropriate code paths
Changes:
1. Move flag values (such as pattern, insanity, verify) in a specific bit-field.2. Create a struct req_status where the status of requests will be stored.3. Tidy up code.
Rationale:
1. For parameters that can have only a few different values, it's an...
Tweak performance of bench
Implement most semi-finished functionalities
Summary of new functionalities:
Increment completed requests of insane timers
Even if a timer is not used for a benchmark, we need to increment itscompleted requests since these are needed to calculate how many requestsare left etc.
Design the program's skeleton for new features
Bench peer must be able to test all xseg operations in a synchronous orasynchronous way. Also, it must have a validation mode to sanity-checkif xseg requests are issued properly. Most of the above are present in...