Is there a QNX 6.1 function that returns ticks per second, rather than the
tick period as in ClockPeriod?
Thanks,
Dave Kuechenmeister
david.kuechenmeister@viasat.com
Is there a QNX 6.1 function that returns ticks per second, rather than the
tick period as in ClockPeriod?
Thanks,
Dave Kuechenmeister
david.kuechenmeister@viasat.com
David Kuechenmeister wrote:
Is there a QNX 6.1 function that returns ticks per second, rather than the
tick period as in ClockPeriod?
I’m not sure (you might want to look at syspage.h), but certainly the
conversion from period to rate is trivial.
Rennie
You want: SYSPAGE_ENTRY(qtime)->cycles_per_sec
Laveau.
“David Kuechenmeister” <david.kuechenmeister@viasat.com> a écrit dans le
message de news: afhug9$km6$1@nntp.qnx.com…
Is there a QNX 6.1 function that returns ticks per second, rather than the
tick period as in ClockPeriod?Thanks,
Dave Kuechenmeister
david.kuechenmeister@viasat.com
Laveau Saint-Clair <laveau@qnx.fr> wrote:
: You want: SYSPAGE_ENTRY(qtime)->cycles_per_sec
I’ve added some index entries to make it easier to find this.