what is CLK_TCK in qnx? (more detailed question)

I’ll explain again my question:

The atomic time devision (known also as clock tic) in windows is
CLK_TCK = 1000.

I was woundering what is the parallle one in QNX ?

\


Benz

Oppse, I thought I was reading the qdn.public.qnx2
conference. For QNX4 or QNX6, take a look at the
clock() function.

Previously, Benzy Gabay wrote in qdn.public.porting:

I’ll explain again my question:

The atomic time devision (known also as clock tic) in windows is
CLK_TCK = 1000.

I was woundering what is the parallle one in QNX ?

\


Benz
\


Mitchell Schoenbrun --------- maschoen@pobox.com

Benzy Gabay <bgabay@everbee.com> wrote:

I’ll explain again my question:

The atomic time devision (known also as clock tic) in windows is
CLK_TCK = 1000.

I was woundering what is the parallle one in QNX ?

Parallel would probably be called tick size ro clock resolution – but
it isn’t a hard-coded value.

Under QNX6, clock_getres() will allow you to query it, and clock_setres()
will allow you to set it. It defaults to 10ms on slow machines and 1 ms
on fast machines.

(Under QNX4, it defaults to 10ms.)

-David

QNX Training Services
dagibbs@qnx.com