cpuidle: add stats reporting support
Signed-off-by: Fredrik Holmqvist <[email protected]>
This commit is contained in:
committed by
Fredrik Holmqvist
parent
76877c9a51
commit
e467ba95b0
@@ -44,6 +44,15 @@ struct CpuidleModuleInfo {
|
||||
};
|
||||
|
||||
|
||||
struct GenCpuidle {
|
||||
module_info info;
|
||||
int32 (*GetIdleStateCount)(void);
|
||||
char * (*GetIdleStateName)(int32 state);
|
||||
void (*GetIdleStateInfo)(int32 cpu, int32 state,
|
||||
CpuidleStat *stat);
|
||||
};
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user