Changeset 8eec3c8 in mainline for kernel/generic/include/sysinfo/abi.h


Ignore:
Timestamp:
2010-06-10T14:24:50Z (14 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c0f13d2
Parents:
1113c9e
Message:

merge basic exception accounting (this is the last piece missing from the original "measure" branch by Stanislav Kozina)

File:
1 edited

Legend:

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

    r1113c9e r8eec3c8  
    4040#define LOAD_STEPS  3
    4141
    42 /** Maximum task name size */
     42/** Maximum name sizes */
    4343#define TASK_NAME_BUFLEN  20
     44#define EXC_NAME_BUFLEN   20
    4445
    4546/** Thread states */
     
    123124} stats_thread_t;
    124125
     126/** Statistics about a single exception
     127 *
     128 */
     129typedef struct {
     130        unsigned int id;             /**< Exception ID */
     131        char desc[EXC_NAME_BUFLEN];  /**< Description */
     132        uint64_t cycles;             /**< Number of CPU cycles in the handler */
     133        uint64_t count;              /**< Number of handled exceptions */
     134} stats_exc_t;
     135
    125136/** Load fixed-point value */
    126137typedef uint32_t load_t;
Note: See TracChangeset for help on using the changeset viewer.