Skip to content

Commit 2f6e917

Browse files
jkotasstephentoub
andauthored
Document behavior of StartProfile with null argument (#4031)
* Document behavior of StartProfile with null argument Contributes to dotnet/runtime#33426 * Update xml/System.Runtime/ProfileOptimization.xml Co-Authored-By: Stephen Toub <[email protected]> Co-authored-by: Stephen Toub <[email protected]>
1 parent c8d01f6 commit 2f6e917

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

xml/System.Runtime/ProfileOptimization.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,8 @@
143143
144144
The code that performs the recording tracks the rate at which methods are compiled, including methods that are compiled on both the background thread and on the main thread. When the rate falls below a predetermined level, recording stops. Recording also stops if the rate of JIT compilation exceeds a predetermined upper limit.
145145
146+
Calling this method stops any previous recording in progress. Calling this method with a null profile file name stops any recording in progress and does not start a new recording.
147+
146148
If the <xref:System.Runtime.ProfileOptimization.SetProfileRoot%2A> method has not been called for the current application domain, or if the computer does not have multiple cores, the <xref:System.Runtime.ProfileOptimization.StartProfile%2A> method has no effect.
147149
148150
]]></format>

0 commit comments

Comments
 (0)