<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://falloutck.uesp.net/w/index.php?action=history&amp;feed=atom&amp;title=StopStackRootProfiling_-_Debug</id>
	<title>StopStackRootProfiling - Debug - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://falloutck.uesp.net/w/index.php?action=history&amp;feed=atom&amp;title=StopStackRootProfiling_-_Debug"/>
	<link rel="alternate" type="text/html" href="https://falloutck.uesp.net/w/index.php?title=StopStackRootProfiling_-_Debug&amp;action=history"/>
	<updated>2026-11-17T16:39:20Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.36.2</generator>
	<entry>
		<id>https://falloutck.uesp.net/w/index.php?title=StopStackRootProfiling_-_Debug&amp;diff=6957&amp;oldid=prev</id>
		<title>imported&gt;Plplecuyer at 21:33, 1 December 2015</title>
		<link rel="alternate" type="text/html" href="https://falloutck.uesp.net/w/index.php?title=StopStackRootProfiling_-_Debug&amp;diff=6957&amp;oldid=prev"/>
		<updated>2015-12-01T21:33:00Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:Scripting]]&lt;br /&gt;
[[Category:Papyrus]]&lt;br /&gt;
[[Category:Papyrus Debug Only Functions]]&lt;br /&gt;
[[Category:Non-Delayed Native Functions]]&lt;br /&gt;
'''Member of:''' [[Debug Script]]&lt;br /&gt;
&lt;br /&gt;
Stops profiling all stacks that start in the specified script (and optionally object).&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&amp;lt;source lang=&amp;quot;papyrus&amp;quot;&amp;gt;&lt;br /&gt;
Function StopStackRootProfiling(string asScriptName, ScriptObject akObj = None) native global debugOnly&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
*asScriptName: The name of the script to stop profiling.&lt;br /&gt;
*akObj: The object to limit the profiling to. Passing None does ''not'' remove all profiling roots for a particular script, it will only remove the 'all' profiling request if one was made.&lt;br /&gt;
**'''Default''': None&lt;br /&gt;
&lt;br /&gt;
== Return Value ==&lt;br /&gt;
None.&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&amp;lt;source lang=&amp;quot;papyrus&amp;quot;&amp;gt;&lt;br /&gt;
; Stops profiling all stacks that start in MySlowScript (unless a filtered one remains)&lt;br /&gt;
Debug.StopStackRootProfiling(&amp;quot;MySlowScript&amp;quot;)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;source lang=&amp;quot;papyrus&amp;quot;&amp;gt;&lt;br /&gt;
; Stops profiling all stacks that start in MySlowScript, but only on MyObj&lt;br /&gt;
; Will have no effect if MyObj was not being filtered already&lt;br /&gt;
Debug.StartStackRootProfiling(&amp;quot;MySlowScript&amp;quot;, MyObj)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
*Profiling requires the &amp;quot;bEnableProfiling&amp;quot; flag in the &amp;quot;[Papyrus]&amp;quot; section of the ini file to be set to 1.&lt;br /&gt;
*The profile files are stored in &amp;quot;&amp;lt;documents&amp;gt;/My Games/Fallout4/Logs/Script/Profiling&amp;quot;.&lt;br /&gt;
*This will also cycle the older profiling logs (so log 0 becomes 1, 1 becomes 2, etc).&lt;br /&gt;
*If the stack root is not currently profiled nothing will change.&lt;br /&gt;
*Profiling requests are not saved and will be reset if you load a save game.&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
*[[Debug Script]]&lt;br /&gt;
*[[StartStackRootProfiling - Debug]]&lt;/div&gt;</summary>
		<author><name>imported&gt;Plplecuyer</name></author>
	</entry>
</feed>