<div dir="ltr">Ah, I just did that in my Pharo copy!<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/4/27 <span dir="ltr"><<a href="mailto:commits@source.squeak.org" target="_blank">commits@source.squeak.org</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Levente Uzonyi uploaded a new version of Kernel to project The Trunk:<br>
<a href="http://source.squeak.org/trunk/Kernel-ul.755.mcz" target="_blank">http://source.squeak.org/trunk/Kernel-ul.755.mcz</a><br>
<br>
==================== Summary ====================<br>
<br>
Name: Kernel-ul.755<br>
Author: ul<br>
Time: 27 April 2013, 10:07:32.072 pm<br>
UUID: 7acc79da-c279-4097-a56f-7d44c94aa5f7<br>
Ancestors: Kernel-fbs.754<br>
<br>
Added two methods to access primitive 240 and 241, which can provide microsecond resolution timestamps on Cog VMs.<br>
<br>
=============== Diff against Kernel-fbs.754 ===============<br>
<br>
Item was added:<br>
+ ----- Method: Time class>>primLocalMicrosecondClock (in category 'clock') -----<br>
+ primLocalMicrosecondClock<br>
+ "Answer the local microseconds since the Smalltalk epoch. The value is derived from the Posix epoch with a constant offset corresponding to elapsed microseconds between the two epochs according to RFC 868, and with an offset duration corresponding to the current offset of local time from UTC."<br>
+<br>
+ <primitive: 241><br>
+ ^0!<br>
<br>
Item was added:<br>
+ ----- Method: Time class>>primUTCMicrosecondClock (in category 'clock') -----<br>
+ primUTCMicrosecondClock<br>
+ "Answer the UTC microseconds since the Smalltalk epoch. The value is derived from the Posix epoch with a constant offset corresponding to elapsed microseconds between the two epochs according to RFC 868."<br>
+<br>
+ <primitive: 240><br>
+ ^0!<br>
<br>
<br>
</blockquote></div><br></div>