CPU Utilization

Does anyone out there know of any ways to determine how the CPU is being
utilized under Neutrino? For instance, how much time a particular
process/thread gets over time? I suppose that if I could ‘eavesdrop’ on the
scheduler, I could determine this, but I don’t know how to do that either.
sin and sac were kind of useful under QNX4, but I see they are missing in
Neutrino… I suppose it brings me to the brink of the quagmire around how
you determine this without affecting CPU utilization, but I will leave this
to the PHD’s.

Thanks

Mark

Checkout the ClockId() and ClockTime() functions.

Mark Welo <mwelo@logisync.com> wrote:

Does anyone out there know of any ways to determine how the CPU is being
utilized under Neutrino? For instance, how much time a particular
process/thread gets over time? I suppose that if I could ‘eavesdrop’ on the
scheduler, I could determine this, but I don’t know how to do that either.
sin and sac were kind of useful under QNX4, but I see they are missing in
Neutrino… I suppose it brings me to the brink of the quagmire around how
you determine this without affecting CPU utilization, but I will leave this
to the PHD’s.

Thanks

Mark


cburgess@qnx.com

Try ‘pidin times’.

“Mark Welo” <mwelo@logisync.com> wrote in message
news:94pgfd$hrn$1@inn.qnx.com

Does anyone out there know of any ways to determine how the CPU is being
utilized under Neutrino? For instance, how much time a particular
process/thread gets over time? I suppose that if I could ‘eavesdrop’ on
the
scheduler, I could determine this, but I don’t know how to do that either.
sin and sac were kind of useful under QNX4, but I see they are missing in
Neutrino… I suppose it brings me to the brink of the quagmire around
how
you determine this without affecting CPU utilization, but I will leave
this
to the PHD’s.

Thanks

Mark