You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/BenchmarkDotNet/Attributes/DisassemblyDiagnoserAttribute.cs
+7-1Lines changed: 7 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,10 @@ public class DisassemblyDiagnoserAttribute : Attribute, IConfigSource
16
16
/// <param name="exportCombinedDisassemblyReport">Exports all benchmarks to a single HTML report. Makes it easy to compare different runtimes or methods (each becomes a column in HTML table).</param>
17
17
/// <param name="exportDiff">Exports a diff of the assembly code to the Github markdown format. False by default.</param>
18
18
/// <param name="filters">Glob patterns applied to full method signatures by the the disassembler.</param>
19
+
/// <param name="runInHost">
20
+
/// If <see langword="true"/>, disassembly will be ran in the host process; otherwise it will be ran in the benchmark process.
21
+
/// Requires host and benchmark processes to target the same platform (must have the same bit-ness) for CoreCLR.
22
+
/// </param>
19
23
publicDisassemblyDiagnoserAttribute(
20
24
intmaxDepth=1,
21
25
DisassemblySyntaxsyntax=DisassemblySyntax.Masm,
@@ -25,6 +29,7 @@ public DisassemblyDiagnoserAttribute(
25
29
boolexportHtml=false,
26
30
boolexportCombinedDisassemblyReport=false,
27
31
boolexportDiff=false,
32
+
boolrunInHost=false,
28
33
paramsstring[]filters)
29
34
{
30
35
Config=ManualConfig.CreateEmpty().AddDiagnoser(
@@ -38,7 +43,8 @@ public DisassemblyDiagnoserAttribute(
0 commit comments