Evaluation of DVFS techniques on modern HPC processors and accelerators for energy-aware applications