A computer program product comprising a computer useable medium having
computer program logic recorded thereon for enabling a microprocessor to
compile a source code program. The computer program logic includes means
for enabling the processor to receive a plurality of source code
instructions, to convert each of the source code instructions into one or
more machine code instructions, to generate monitoring information
corresponding to each of the machine code instructions, and to enable the
microprocessor to output the machine code instructions and the
corresponding monitoring information. The monitoring information
indicates which of a plurality of functional units of a microprocessor or
a microelectronic device are to be selectively activated for executing
each of the machine code instructions.