I have no idea. I just remember this discussion:

http://n4.nabble.com/Nanosecond-level-profiling-in-Pharo-td1296771.html#a1296771

2010/2/12 Miguel Enrique Cob� Martinez <miguel.coba@gmail.com>
I am noticing that both

DateAndTime now
TimeStamp now

have a precision of seconds, that is, the nanos is always 0.

I am doing a bulk data creation and inserting them in a list with a
timestamp for each insertion but this isn't working because several
entries have the very same DateAndTime or Timestamp.

For example:

{DateAndTime. TimeStamp } collect: [ :class |
� � � �| list |
� � � �list := OrderedCollection new.
� � � �1 to: 1000 do: [ :each |
� � � � � � � �value := class now.
� � � � � � � �list add: value ].
� � � �list last - list first ]

gives an Array(0:00:00:00 0:00:00:00)

How can achieve smaller than a second timestamping in Pharo?
--
Miguel Cob�
http://miguel.leugim.com.mx


_______________________________________________
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project