DescriptionAdd script injection when replaying with callstats.py
This allows benchmarking without --single-process and correctly
gathering --runtime-call-stats numbers.
Add optional parameter to %GetAndResetRuntimeCallStats
- Without any parameter, it returns a string with the runtime call
statistics (as before).
- With one string parameter, it appends the statistics to the file with
that file name.
- With one integer parameter (which must be 1=stdout or 2=stderr), it
prints the statistics to the output with of that file descriptor.
The injected script is automatically generated.
Also, callstats.py does not have a hardwired DEFAULT_SITES anymore.
R=cbruni@chromium.org
BUG=
LOG=N
Committed: https://crrev.com/5fa1c61ee0babe9e4c3b2fa0069912e6d42ee2dc
Cr-Commit-Position: refs/heads/master@{#36172}
Patch Set 1 #
Messages
Total messages: 8 (2 generated)
|