Power and Energy Management of Multicore Processors