# m_energy Function

## public function m_energy() result(wt)

returns the energy used since some time in the past. The precise meaning depends on the infrastructure is available. In the cray_pm_energy case, this is the energy used by the node in kJ.

None

## Source Code

   FUNCTION m_energy() RESULT(wt)
!! returns the energy used since some time in the past.
!! The precise meaning depends on the infrastructure is available.
!! In the cray_pm_energy case, this is the energy used by the node in kJ.

REAL(KIND=dp)                            :: wt

#if defined(__CRAY_PM_ENERGY)