[squeak-dev] primMicrosecondClock?

Yoshiki Ohshima yoshiki at vpri.org
Thu Jan 6 22:58:36 UTC 2011


  Hello,

  I'm looking at primMicrosecondClock on Windows with 4.1.1 VM and Cog
2341 just to profile parts of my code (so when is the epoch, and
etc. does not matter here).

  I code snippet like this:

| t |
t := Time primMicrosecondClock.
(Delay forSeconds: 1) wait.
Time primMicrosecondClock - t

and I get "1001" or "1000" on 4.1.1 and "0" on Cog... Where does it
stand?

  Searching in the email archive, it appears that it "works" on Unix
VM.  Is it reliably working?  How about Mac?

-- Yoshiki



More information about the Squeak-dev mailing list