Changeset b3b7e14 in mainline for uspace/app/top/top.h


Ignore:
Timestamp:
2010-06-11T15:31:03Z (14 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
214ec25c
Parents:
be06914
Message:

distinguish between "hot" and "cold" exceptions
display only "hot" exceptions by default
add top to help

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/top/top.h

    rbe06914 rb3b7e14  
    4040
    4141#define FRACTION_TO_FLOAT(float, a, b) \
    42         { \
     42        do { \
    4343                if ((b) != 0) { \
    4444                        (float).upper = (a); \
     
    4848                        (float).lower = 1; \
    4949                } \
    50         }
     50        } while (0)
    5151
    52 #define OP_TASKS  1
    53 #define OP_IPC    2
    54 #define OP_EXC    3
     52typedef enum {
     53        OP_TASKS,
     54        OP_IPC,
     55        OP_EXCS,
     56        OP_HELP
     57} op_mode_t;
    5558
    56 extern int operation_type;
     59extern op_mode_t op_mode;
     60extern bool excs_all;
    5761
    5862typedef struct {
Note: See TracChangeset for help on using the changeset viewer.