aboutsummaryrefslogtreecommitdiff
path: root/idlestat.h
diff options
context:
space:
mode:
Diffstat (limited to 'idlestat.h')
-rw-r--r--idlestat.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/idlestat.h b/idlestat.h
index 0c2b60e..909d868 100644
--- a/idlestat.h
+++ b/idlestat.h
@@ -186,6 +186,13 @@ struct init_pstates {
unsigned int *freqs;
};
+extern int store_data(double time, int state, int cpu, struct cpuidle_datas *datas, int count);
+extern struct cpuidle_cstates *build_cstate_info(int nrcpus);
+extern struct cpufreq_pstates *build_pstate_info(int nrcpus);
+extern void cpu_change_pstate(struct cpuidle_datas *datas, int cpu, unsigned int freq, double time);
+extern int get_wakeup_irq(struct cpuidle_datas *datas, char *buffer, int count);
+
+
struct report_ops {
int (*check_output)(struct program_options *, void *);