Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/sysinfo/abi.h

    rd0c82c5 rbd01a4e  
    3838
    3939/** Number of load components */
    40 #define LOAD_STEPS  3
     40#define LOAD_STEPS        3
    4141
    42 /** Maximum name sizes */
     42/** Maximum task name size */
    4343#define TASK_NAME_BUFLEN  20
    44 #define EXC_NAME_BUFLEN   20
    4544
    4645/** Thread states */
     
    6665 */
    6766typedef struct {
    68         size_t id;               /**< CPU ID as stored by kernel */
     67        unsigned int id;         /**< CPU ID as stored by kernel */
    6968        bool active;             /**< CPU is activate */
    7069        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 */
    7372} stats_cpu_t;
    7473
     
    9089typedef struct {
    9190        uint64_t call_sent;           /**< IPC calls sent */
    92         uint64_t call_received;       /**< IPC calls received */
     91        uint64_t call_recieved;       /**< IPC calls received */
    9392        uint64_t answer_sent;         /**< IPC answers sent */
    94         uint64_t answer_received;     /**< IPC answers received */
    95         uint64_t irq_notif_received;  /**< IPC IRQ notifications */
     93        uint64_t answer_recieved;     /**< IPC answers received */
     94        uint64_t irq_notif_recieved;  /**< IPC IRQ notifications */
    9695        uint64_t forwarded;           /**< IPC messages forwarded */
    9796} stats_ipc_t;
     
    124123} stats_thread_t;
    125124
    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 
    137125/** Load fixed-point value */
    138126typedef uint32_t load_t;
Note: See TracChangeset for help on using the changeset viewer.