hu.mta.sztaki.lpds.cloud.simulator.energy.powermodelling
Interface PowerState.PowerCharacteristicsChange

All Known Implementing Classes:
DirectEnergyMeter
Enclosing class:
PowerState

public static interface PowerState.PowerCharacteristicsChange

allows notifications before the consumption characteristics would change. Useful to update instantaneous power draw values before a power characteristic change (like going from turboboost->using all cpu cores in modern processors)

Author:
"Gabor Kecskemeti, Laboratory of Parallel and Distributed Systems, MTA SZTAKI (c) 2014"

Method Summary
 void prePowerChangeEvent(PowerState onMe)
          this function is called when there is a powerstate characteristic change on the powerstate onMe.
 

Method Detail

prePowerChangeEvent

void prePowerChangeEvent(PowerState onMe)
this function is called when there is a powerstate characteristic change on the powerstate onMe.

Parameters:
onMe - with this parameter the change event propagates the power state for which the change is happening


Copyright © 2012–2015 University of Innsbruck & MTA SZTAKI. All rights reserved.