Changeset e1b6742 in mainline for kernel/generic/include/sysinfo/abi.h
- Timestamp:
- 2010-04-18T12:17:11Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e535eeb
- Parents:
- bbda5ab
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/sysinfo/abi.h
rbbda5ab re1b6742 42 42 /** Maximum task name size */ 43 43 #define TASK_NAME_BUFLEN 20 44 45 /** Thread states */ 46 typedef enum { 47 /** It is an error, if thread is found in this state. */ 48 Invalid, 49 /** State of a thread that is currently executing on some CPU. */ 50 Running, 51 /** Thread in this state is waiting for an event. */ 52 Sleeping, 53 /** State of threads in a run queue. */ 54 Ready, 55 /** Threads are in this state before they are first readied. */ 56 Entering, 57 /** After a thread calls thread_exit(), it is put into Exiting state. */ 58 Exiting, 59 /** Threads that were not detached but exited are Lingering. */ 60 Lingering 61 } state_t; 44 62 45 63 /** Statistics about a single CPU … … 89 107 } stats_task_t; 90 108 109 /** Statistics about a single thread 110 * 111 */ 112 typedef struct { 113 task_id_t task_id; 114 state_t state; 115 int priority; 116 uint64_t ucycles; 117 uint64_t kcycles; 118 bool on_cpu; 119 unsigned int cpu; 120 } stats_thread_t; 121 91 122 /** Load fixed-point value */ 92 123 typedef uint32_t load_t;
Note:
See TracChangeset
for help on using the changeset viewer.