diff options
-rw-r--r-- | energy_model.c | 2 | ||||
-rw-r--r-- | energy_model.h | 2 | ||||
-rw-r--r-- | idlestat.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/energy_model.c b/energy_model.c index 228fe83..2515de8 100644 --- a/energy_model.c +++ b/energy_model.c @@ -330,7 +330,7 @@ static struct pstate_energy_info *find_pstate_energy_info(const unsigned int clu #define US_TO_SEC(US) (US / 1e6) -void calculate_energy_consumption(struct cpu_topology *cpu_topo, struct program_options *options) +void calculate_energy_consumption(struct cpu_topology *cpu_topo) { struct cpu_physical *s_phy; struct cpu_core *s_core; diff --git a/energy_model.h b/energy_model.h index 592e9b1..45b0c8e 100644 --- a/energy_model.h +++ b/energy_model.h @@ -30,6 +30,6 @@ struct program_options; /* Defined elsewhere */ struct cpu_topology; int parse_energy_model(struct program_options *); -void calculate_energy_consumption(struct cpu_topology *cpu_topo, struct program_options *); +void calculate_energy_consumption(struct cpu_topology *cpu_topo); #endif @@ -1578,7 +1578,7 @@ int main(int argc, char *argv[], char *const envp[]) } if (options.energy_model_filename) - calculate_energy_consumption(cpu_topo, &options); + calculate_energy_consumption(cpu_topo); output_handler->close_report_file(report_data); |