JSON MERIC configuration file
This issue aggregates other issues about MERIC configuration file: #52 #48 (closed) #28 (closed)
The configuration file has a following format:
-
region name
- mandatory, object, for each region that should have a specified configuration-
parameter
- mandatory, int/float/string, for each tuned parameter, specified parameter value in the parameter's default unit, the list of parameters must be the same for each specified region except the static region, which may have additional parameters
-
-
"@IGNORE"
- optional, object, specify that MERIC should not measure, tune, or store output for regions if any of the following is true-
"@REGIONS"
- optional, list of strings, list of regions that should be ignored by MERIC -
"@RUNTIME"
- optional, float, minimum region runtime [s] to be tracked by MERIC, measured during the first execution of the region
-
-
"@RADAR"
- optional, object, information for application behavior visualisation-
"@METRIC"
- mandatory, object, metrics used for identification of optimal configuration-
metric
- section in the MERIC output file, mandatory, string, metric of the specified section
-
-
"@BASELINE"
- optional, float, static power baseline [W]
-
Example MERIC configuration file:
{
"a.out_static" : {
"FREQUENCY" : 2100000000,
"UNCORE_FREQUENCY" : 2100000000,
"NUM_THREADS" : 12
},
"A" : {
"FREQUENCY" : 1200000000,
"UNCORE_FREQUENCY" : 1200000000
},
"C" : {
"FREQUENCY" : 2500000000,
"UNCORE_FREQUENCY" : 2300000000,
},
"@RADAR" : {
"@METRIC" : {
"# COUNTERS - HDEEM:" : "Energy consumption [J]",
"# COUNTERS - NVML:" : "Energy consumption [J]"
},
"@BASELINE" : 0.0
},
"@IGNORE" : {
"@REGIONS" : ["B", "D"],
"@RUNTIME" : 0.2
}
}