Changes in kernel/generic/include/sysinfo/abi.h [d0c82c5:bd01a4e] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/sysinfo/abi.h
rd0c82c5 rbd01a4e 38 38 39 39 /** Number of load components */ 40 #define LOAD_STEPS 340 #define LOAD_STEPS 3 41 41 42 /** Maximum name sizes*/42 /** Maximum task name size */ 43 43 #define TASK_NAME_BUFLEN 20 44 #define EXC_NAME_BUFLEN 2045 44 46 45 /** Thread states */ … … 66 65 */ 67 66 typedef struct { 68 size_t id;/**< CPU ID as stored by kernel */67 unsigned int id; /**< CPU ID as stored by kernel */ 69 68 bool active; /**< CPU is activate */ 70 69 uint16_t frequency_mhz; /**< Frequency in MHz */ 71 uint64_t idle_ cycles; /**< Number of idle cycles*/72 uint64_t busy_ cycles; /**< Number of busy cycles*/70 uint64_t idle_ticks; /**< Number of idle kernel quanta */ 71 uint64_t busy_ticks; /**< Number of busy kernel quanta */ 73 72 } stats_cpu_t; 74 73 … … 90 89 typedef struct { 91 90 uint64_t call_sent; /**< IPC calls sent */ 92 uint64_t call_rec eived; /**< IPC calls received */91 uint64_t call_recieved; /**< IPC calls received */ 93 92 uint64_t answer_sent; /**< IPC answers sent */ 94 uint64_t answer_rec eived; /**< IPC answers received */95 uint64_t irq_notif_rec eived; /**< IPC IRQ notifications */93 uint64_t answer_recieved; /**< IPC answers received */ 94 uint64_t irq_notif_recieved; /**< IPC IRQ notifications */ 96 95 uint64_t forwarded; /**< IPC messages forwarded */ 97 96 } stats_ipc_t; … … 124 123 } stats_thread_t; 125 124 126 /** Statistics about a single exception127 *128 */129 typedef struct {130 unsigned int id; /**< Exception ID */131 char desc[EXC_NAME_BUFLEN]; /**< Description */132 bool hot; /**< Active or inactive exception */133 uint64_t cycles; /**< Number of CPU cycles in the handler */134 uint64_t count; /**< Number of handled exceptions */135 } stats_exc_t;136 137 125 /** Load fixed-point value */ 138 126 typedef uint32_t load_t;
Note:
See TracChangeset
for help on using the changeset viewer.