Lines Matching defs:state
30 * combination for new state index and timestamp (Idx`, Ts`).
33 * interval for the previous state: Duration(Idx) = Ts` - Ts.
35 * Every CPU has one below array for recording state index and
61 /* cstate_duration records duration time for every idle state per CPU */
86 u32 state;
136 *cstate = ctx->state;
148 * When state doesn't equal to (u32)-1, the cpu will enter
149 * one idle state; for this case we need to record interval
156 * | Idle state
163 if (ctx->state != (u32)-1) {
181 * When state equal to (u32)-1, the cpu just exits from one
182 * specific idle state; for this case we need to record
189 * | Idle state |
236 *pstate = ctx->state;