public class ACpuEnvironmentMeasurer extends Object implements AEnvironmentMeasurer
AEnvironmentMeasurer.EnvironmentCollector| Modifier and Type | Field and Description |
|---|---|
static String |
KEY_CPUS |
static String |
KEY_HW |
| Constructor and Description |
|---|
ACpuEnvironmentMeasurer() |
| Modifier and Type | Method and Description |
|---|---|
void |
contributeMeasurements(AEnvironmentMeasurer.EnvironmentCollector data) |
void |
shutdown() |
public static final String KEY_HW
public static final String KEY_CPUS
public void contributeMeasurements(AEnvironmentMeasurer.EnvironmentCollector data) throws Exception
contributeMeasurements in interface AEnvironmentMeasurerdata - is a 'collectiong parameter', i.e. the method adds its own results to the existing collection.Exceptionpublic void shutdown()
throws Exception
shutdown in interface AShutdownableExceptionCopyright © 2016. All rights reserved.