[zeromq-dev] [PATCH] zmq::clock_t : return correct value in rdtsc() on solaris

Martin Sustrik sustrik at 250bpm.com
Thu Oct 14 15:15:36 CEST 2010


On 10/14/2010 03:08 PM, Martin Sustrik wrote:
> Hi Martin,
>
>> the attached patch ensures that a correct rdtsc value is returned when
>> compiled
>> with sunstudio 12 compiler.
>
> Just a check: This is a performance patch, right? The codebase still
> works with sunstudio, even without this patch?

Also, you should check for the platform (x86 or x86-64). I would expect 
that sunstudio works with platforms that have no rdtsc instruction -- 
such as SPARC.

Martin



More information about the zeromq-dev mailing list