aboutsummaryrefslogtreecommitdiff
path: root/idlestat.h
diff options
context:
space:
mode:
authorNicolas Pitre <nicolas.pitre@linaro.org>2014-10-01 01:03:26 -0400
committerTuukka Tikkanen <tuukka.tikkanen@linaro.org>2014-10-08 05:50:37 +0300
commite1ae779abfd1328011b420aae15853d58e4177de (patch)
tree54b65885246ce65214df8df1a44e3dbe97181936 /idlestat.h
parent13259a4fbfc3cfa6d5221273f24d0fc47dc2d178 (diff)
idlestat: keep track of both early and late interrupt triggers
Signed-off-by: nicolas Pitre <nico@linaro.org> Reviewed-by: Tuukka Tikkanen <tuukka.tikkanen@linaro.org>
Diffstat (limited to 'idlestat.h')
-rw-r--r--idlestat.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/idlestat.h b/idlestat.h
index 7075c0e..1836ca0 100644
--- a/idlestat.h
+++ b/idlestat.h
@@ -74,7 +74,8 @@ struct wakeup_irq {
int irq_type;
char name[NAMELEN+1];
int count;
- int not_predicted;
+ int early_triggers;
+ int late_triggers;
};
struct wakeup_info {
@@ -88,7 +89,7 @@ struct cpuidle_cstates {
int current_cstate;
int cstate_max;
struct wakeup_irq *wakeirq;
- int not_predicted;
+ enum {as_expected, too_long, too_short} actual_residency;
};
struct cpufreq_pstate {