A computer implemented method, apparatus, and computer usable program code
to collect information for a system or processor having a transition
between an idle state and a non-idle state. Idle counts occurring during
execution of code are collected to form collected system or processor
information. The collected system or processor information is provided to
an application for analyzing why a processor becomes idle.