1
0
mirror of https://github.com/ARM-software/devlib.git synced 2024-10-05 18:30:50 +01:00

readenergy: update table headers

Update CSV headers output by readenergy to match the corresponding
channel names. This will avoid needing to translate them afterwards.
This commit is contained in:
Sergei Trofimov 2017-12-11 17:11:28 +00:00 committed by marcbonnici
parent 1e34390b99
commit 75ff31c6c7
2 changed files with 4 additions and 4 deletions

Binary file not shown.

View File

@ -254,10 +254,10 @@ void emeter_init(struct emeter *this, char *outfile)
}
if(this->out) {
fprintf(this->out, "sys_curr,a57_curr,a53_curr,gpu_curr,"
"sys_volt,a57_volt,a53_volt,gpu_volt,"
"sys_pow,a57_pow,a53_pow,gpu_pow,"
"sys_cenr,a57_cenr,a53_cenr,gpu_cenr\n");
fprintf(this->out, "sys_current,a57_current,a53_current,gpu_current,"
"sys_voltage,a57_voltage,a53_voltage,gpu_voltage,"
"sys_power,a57_power,a53_power,gpu_power,"
"sys_energy,a57_energy,a53_energy,gpu_energy\n");
}
}