<div dir="ltr">Hi Ben,<br><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Sep 24, 2016 at 6:11 AM, Ben Coman <span dir="ltr">&lt;<a href="mailto:btc@openinworld.com" target="_blank">btc@openinworld.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
I was planning to have a go at the issue I logged to make the VM time<br>
monotonic...<br>
<a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/36" rel="noreferrer" target="_blank">https://github.com/<wbr>OpenSmalltalk/opensmalltalk-<wbr>vm/issues/36</a><br>
<br>
I think its within my capability, but I wanted to get an understanding<br>
of how time was currently handled cross-platform - so I started<br>
developing a chart of how the code maps between different platforms<br>
and within a platform e.g. sqUnixITimerHeartbeat  versus<br>
sqUnixITimerTickerHeartbeat.<br>
<br>
You can see what I was aiming for here...<br>
<a href="http://files.openinworld.com/opensmalltalk-vm/VM-Time/" rel="noreferrer" target="_blank">http://files.openinworld.com/<wbr>opensmalltalk-vm/VM-Time/</a></blockquote><div><br></div><div>For me, one really interesting breakdown is the code in terms of what is the Cog API (all microseconds based) vs the pre-Cog one (milliseconds and seconds).</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The chart is a bit expansive and may be awkward to view in a browser.<br>
I used yEd to develop it and that provides a nice interface to<br>
navigate it.<br>
<a href="https://www.yworks.com/products/yed" rel="noreferrer" target="_blank">https://www.yworks.com/<wbr>products/yed</a><br>
<br>
However one problem is the chart is hard to maintain.  I developed it<br>
mostly in one sitting and later when I came back to revise it, I found<br>
it hard to track where I was up to.   The manual process was also a<br>
bit error  prone.  So my plan now is to use libclang via FFI to parse<br>
the platform sources together with Roassal to automate producing<br>
charts from the code.<br>
<br>
cheers -ben<br>
</blockquote></div><br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><span style="font-size:small;border-collapse:separate"><div>_,,,^..^,,,_<br></div><div>best, Eliot</div></span></div></div></div>
</div></div>