Lines Matching refs:state

57 	ThreadState						state;
59 SchedulingEvent(nanotime_t time, ThreadState state,
64 state(state)
72 uint32 state;
74 IOSchedulingEvent(nanotime_t time, uint32 state)
77 state(state)
146 void AddState(Model::Thread* thread, nanotime_t time, ThreadState state,
153 if (lastEvent.state == state
159 lastEvent = SchedulingEvent(time, state, waitObject);
164 SchedulingEvent event(time, state, waitObject);
168 void AddIOState(Model::Thread* thread, nanotime_t time, uint32 state)
171 array.Add(IOSchedulingEvent(time, state));
779 // get the thread's state
801 threadState = events[lower].state;
811 // get the thread's I/O state
962 switch (event.state) {
995 switch (event.state) {
1040 // get a scheduling state close to our start time
1068 switch (threadState->state) {
1183 // start in pending request state
1229 // after the end of the request cluster, state is idle again
1277 if (events[lower].state == IO_SCHEDULING_STATE_IDLE)
1282 if (events[lower - 1].state == IO_SCHEDULING_STATE_IDLE)
1289 if (events[upper].state == IO_SCHEDULING_STATE_IDLE)
1294 nanotime_t endTime = events[upper].state == IO_SCHEDULING_STATE_IDLE
1458 thread->state = RUNNING;
1473 if (thread->state == STILL_RUNNING) {
1479 thread->state = PREEMPTED;
1480 } else if (thread->state == RUNNING) {
1509 thread->state = WAITING;
1510 } else if (thread->state == UNKNOWN) {
1517 thread->state = WAITING;
1520 thread->state = PREEMPTED;
1539 if (thread->state == RUNNING || thread->state == STILL_RUNNING) {
1542 thread->state = STILL_RUNNING;
1553 thread->state = READY;
1575 thread->state = WAITING;