View source code
Display the source code in core/memory.d from which thispage was generated on github.
Report a bug
If you spot a problem with this page, click here to create aBugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page.Requires a signed-in GitHub account. This works well for small changes.If you'd like to make larger changes you may want to consider usinglocal clone.
core.memory.GC.ProfileStats/profileStats
- multiple declarations
Function GC.profileStats
Returns runtime profile stats for currently active GC implementation
See GC
for list of available metrics.
Struct GC.ProfileStats
Aggregation of current profile information
struct ProfileStats;
Fields
Name | Type | Description |
---|---|---|
maxCollectionTime
|
Duration | largest time spent doing one GC cycle |
maxPauseTime
|
Duration | largest time threads were paused during one GC cycle |
numCollections
|
ulong | total number of GC cycles |
totalCollectionTime
|
Duration | total time spent doing GC |
totalPauseTime
|
Duration | total time threads were paused doing GC |
Authors
Sean Kelly, Alex Rønne Petersen
License
Copyright © 1999-2025 by the D Language Foundation | Page generated by ddox.