Software-Based Energy-Consumption Measurement for Side-Channel Analysis. This thesis examines the applicability of energy-consumption measurement with software-based methods in the context of side-channel analysis. A suitable software-based measurement approach is leveraged to empirically show that four program transformations for timing side-channel mitigation induce energy-consumption over- head. We investigate the class of energy-consumption side channels, show their presence in four exemplary programs and quantify their severity using an experimental approach. An evaluation of the positive effects of program transformations on these side channels shows that some transformations mitigate them quite effectively.