-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Correct histograms for zero byte allocations
If the program performs zero byte allocations, pretend that they were one byte allocations instead. This way they'll be counted in the lowest histogram bucket, as they should be, but we won't attempt to call `math.log(0)` and get a math domain error. Signed-off-by: Matt Wozniski <[email protected]>
- Loading branch information
Showing
2 changed files
with
3 additions
and
4 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