-
Notifications
You must be signed in to change notification settings - Fork 127
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Have uniform behavior for measurements
Having uniform/standardized log formats/behaviors allow for automation tools to be easier to implement and maintain. As the measurements done by GFXReconstruct are performance free and were already done on the whole replay if no frame-range was specified, I propose to consider gfxrecon-replay as always acquiring measurements, either on the whole replay or on the specified frame-range. Thus there is no need for special message/behavior depending if a frame-range has been manually specified. That's what this commit implements: - A measurement file is always created if the replay has been run successfully - The same log message at the end of the replay is displayed, no matter if a range has been specified or not and no matter how much time the (potentially inexistant) load has taken In addition, as CLOCK_MONOTONIC has an arbitrary starting point, CLOCK_BOOTTIME start/end time have been added to the measurement file. Also, for measurement of CPU load, it's better to have a clock that measures process time instead of absolute time, so CLOCK_PROCESS_CPUTIME_ID start/end time have been added to the measurement file. Change-Id: I79edf334cbb7382233be7c5a3d07251294d0565f
- Loading branch information
1 parent
13e850b
commit ee92f48
Showing
10 changed files
with
182 additions
and
165 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
Oops, something went wrong.