[Pharo-users] Re: Pharo nanoseconds or clock ticks

2022-09-13 Thread Guillermo Polito
Hi Kasper,

There is `Smalltalk highResClock` that should be what you’re looking for.

It's still not available in ARM64 builds, we need to define it using some 
handwritten assembly.
There is an open issue for that 
https://github.com/pharo-project/pharo/issues/11609

G

> El 5 sept 2022, a las 8:30, Kasper Osterbye  
> escribió:
> 
> Cheers
> 
> I am looking for a way to get to the nanosecond or clock ticks of my computer 
> as I want to do some rather low level performance measurements. 
> I have not been able to find it.
> 
> I am on macos.
> 
> Is it already in the image, or is there a library I can to load?
> 
> Best,
> 
> Kasper


[Pharo-users] Re: Pharo nanoseconds or clock ticks

2022-09-13 Thread Kasper Osterbye
Gracias! Just what I was looking for indeed.

One of the few times I lucked out on my intel mac…

Best,

Kasper

> On 13 Sep 2022, at 13.33, Guillermo Polito  wrote:
> 
> Hi Kasper,
> 
> There is `Smalltalk highResClock` that should be what you’re looking for.
> 
> It's still not available in ARM64 builds, we need to define it using some 
> handwritten assembly.
> There is an open issue for that 
> https://github.com/pharo-project/pharo/issues/11609
> 
> G
> 
>> El 5 sept 2022, a las 8:30, Kasper Osterbye  
>> escribió:
>> 
>> Cheers
>> 
>> I am looking for a way to get to the nanosecond or clock ticks of my 
>> computer as I want to do some rather low level performance measurements. 
>> I have not been able to find it.
>> 
>> I am on macos.
>> 
>> Is it already in the image, or is there a library I can to load?
>> 
>> Best,
>> 
>> Kasper