Skip to content

Commit c918e15

Browse files
committed
MemoryDiagnoserAttribute constructor docs (mostly to rerun CI tests).
1 parent 4116428 commit c918e15

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/BenchmarkDotNet/Attributes/MemoryDiagnoserAttribute.cs

+3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ public class MemoryDiagnoserAttribute : Attribute, IConfigSource
1111

1212
public MemoryDiagnoserAttribute() : this(false) { }
1313

14+
/// <summary>
15+
/// If <paramref name="includeSurvived"/> is true, monitoring will be enabled and survived memory will be measured on the first benchmark run.
16+
/// </summary>
1417
public MemoryDiagnoserAttribute(bool includeSurvived)
1518
{
1619
Config = ManualConfig.CreateEmpty().AddDiagnoser(includeSurvived ? MemoryDiagnoser.WithSurvived : MemoryDiagnoser.Default);

0 commit comments

Comments
 (0)