-
Notifications
You must be signed in to change notification settings - Fork 736
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Code to periodically track IProfiler overhead
Every 5 seconds we will print the number of profiling entries, the CPU taken by the IProfiler thread and the top 5 methods that received profiling samples. The code is not active, to minimize overhead. In order to compile it in one needs to define `TRACK_SAMPLE_SOURCES` Also, to activate it at runtime, one needs to define the following env var: `TR_TrackIProfilerActivity` The information appears in the verbose log if one is defined or to stderr if there is no vlog. Signed-off-by: Marius Pirvu <[email protected]>
- Loading branch information
Showing
2 changed files
with
154 additions
and
9 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