ClockTime() docs

Steve,
The docs of ClockTime() say that it returns the system clock. I’m sure it’s
stated somewhere else, but this page should tell the unit of the value that
is returned. Is it nanoseconds? Is it ticks?
Regards
Markus

Markus Loffler <loffler@ces.clemson.edu> wrote:

Steve,
The docs of ClockTime() say that it returns the system clock. I’m sure it’s
stated somewhere else, but this page should tell the unit of the value that
is returned. Is it nanoseconds? Is it ticks?
Regards
Markus

“Once set, the system time increments by some number of nanoseconds,
based upon the resolution of the system clock.”

Admittedly this could be made clearer. The doc is also a bit out of
date since the ClockId function was extended to allow the usage
of processor specific clocks, rather than the system clock.


cburgess@qnx.com

Colin Burgess <cburgess@qnx.com> wrote:

Markus Loffler <> loffler@ces.clemson.edu> > wrote:
Steve,
The docs of ClockTime() say that it returns the system clock. I’m sure it’s
stated somewhere else, but this page should tell the unit of the value that
is returned. Is it nanoseconds? Is it ticks?
Regards
Markus

“Once set, the system time increments by some number of nanoseconds,
based upon the resolution of the system clock.”

Admittedly this could be made clearer. The doc is also a bit out of
date since the ClockId function was extended to allow the usage
of processor specific clocks, rather than the system clock.

Thanks for letting me know, I’ll follow up on this.

-Donna


cburgess@qnx.com