<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div dir="ltr">Hi Christoph,</div><div dir="ltr"><br><blockquote type="cite">On Jan 11, 2022, at 5:21 AM, Thiede, Christoph <Christoph.Thiede@student.hpi.uni-potsdam.de> wrote:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr">

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">



<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p>Hi all,</p>
<p><br>
</p>
<p>I am running some performance benchmarks using #timeToRunWithoutGC via smalltalkCI on GitHub Actions (Ubuntu) and am observing a very high standard deviation of the results. I suppose that GitHub is temporarily suspending my workflow for reasons. Is my assumption
 correct that such suspensions would *not* be transparent to <span>primitiveUTCMicrosecondClock, which acts similar to a wall clock? Does the VM provide any means to measure the time that was actually spent inside the VM process? I believe I am searching for
 an equivalent of the linux time command where I would sum up user + system time (because expensive I/O calls from my benchmarked code are indeed relevant) and then subtract the GC time. Is there already any support for this in the VM, or would this require
 major efforts?</span></p></div></div></blockquote><div><br></div>The VM does maintain an idle time, accessible via vmParameterAt: .  Use the About Squeak’s VM parameters tab to find out which it is. The idle time gets incremented in relinquishProcessorForMicroseconds: from the idleProcess.<div><br></div><div>There’s a thread on squeak-dev or vm-dev from perhaps five years ago by Ryan Macnak suggesting that the vm maintain an active time rather than an idle time, and that it be hooked into sleep events.  I think this is a good idea but I don’t have cycles to implement it, so the idle time is what we have at the moment. <br><blockquote type="cite"><div dir="ltr"><div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p><span><br>
</span></p>
<p><span>Thanks in advance!</span></p>
<p><span><br>
</span></p>
<p><span>Best,</span></p>
<p><span>Christoph</span></p>
<div id="Signature">
<div id="divtagdefaultwrapper" dir="ltr" style="font-size: 12pt; color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols;">
<div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0">
<div><font size="2" color="#808080"></font></div>
</div>
</div>
</div>
</div>


<span></span><br></div></blockquote></div></body></html>