forked from RobotLocomotion/drake
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cassie_bench: Update malloc tracking (RobotLocomotion#14296)
This patch better models collection of malloc stats from multiple invocations of each benchmark body. The google bench framework typically invokes the benchmark case code multiple times even in normal operation, and uses the same storage to capture user-defined metrics. The prior arrangement of the tracker allowed later invocations' data to overwrite earlier. This version collects data across all invocations. The change doesn't matter much now, but it will make it easier to follow the evolution of malloc counts across invocations with storage pool optimizations. The effect of this patch on results is negligible, since the changes are outside of the magic state loop.
- Loading branch information
1 parent
684643a
commit d01c919
Showing
1 changed file
with
46 additions
and
46 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