Changes in kernel/generic/include/sysinfo/abi.h [bd01a4e:d0c82c5] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/sysinfo/abi.h
rbd01a4e rd0c82c5 38 38 39 39 /** Number of load components */ 40 #define LOAD_STEPS 40 #define LOAD_STEPS 3 41 41 42 /** Maximum task name size*/42 /** Maximum name sizes */ 43 43 #define TASK_NAME_BUFLEN 20 44 #define EXC_NAME_BUFLEN 20 44 45 45 46 /** Thread states */ … … 65 66 */ 66 67 typedef struct { 67 unsigned int id;/**< CPU ID as stored by kernel */68 size_t id; /**< CPU ID as stored by kernel */ 68 69 bool active; /**< CPU is activate */ 69 70 uint16_t frequency_mhz; /**< Frequency in MHz */ 70 uint64_t idle_ ticks; /**< Number of idle kernel quanta*/71 uint64_t busy_ ticks; /**< Number of busy kernel quanta*/71 uint64_t idle_cycles; /**< Number of idle cycles */ 72 uint64_t busy_cycles; /**< Number of busy cycles */ 72 73 } stats_cpu_t; 73 74 … … 89 90 typedef struct { 90 91 uint64_t call_sent; /**< IPC calls sent */ 91 uint64_t call_rec ieved; /**< IPC calls received */92 uint64_t call_received; /**< IPC calls received */ 92 93 uint64_t answer_sent; /**< IPC answers sent */ 93 uint64_t answer_rec ieved; /**< IPC answers received */94 uint64_t irq_notif_rec ieved; /**< IPC IRQ notifications */94 uint64_t answer_received; /**< IPC answers received */ 95 uint64_t irq_notif_received; /**< IPC IRQ notifications */ 95 96 uint64_t forwarded; /**< IPC messages forwarded */ 96 97 } stats_ipc_t; … … 123 124 } stats_thread_t; 124 125 126 /** Statistics about a single exception 127 * 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 125 137 /** Load fixed-point value */ 126 138 typedef uint32_t load_t;
Note:
See TracChangeset
for help on using the changeset viewer.