1. An apparatus comprising: one or more registers; and a control unit coupled to the one or more registers, wherein the control unit is configured to monitor a power state in one or more memory modules during execution of an application, and wherein the control unit is configured to store data generated during the monitoring in the one or more registers.