Changeset 172aad6 in mainline for uspace/app/top/top.h


Ignore:
Timestamp:
2010-06-24T11: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:
e821e49
Parents:
549012c
Message:

add initial support for sorting the output of top

File:
1 edited

Legend:

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

    r549012c r172aad6  
    5757} op_mode_t;
    5858
     59typedef enum {
     60        SORT_TASK_CYCLES
     61} sort_mode_t;
     62
    5963extern op_mode_t op_mode;
     64extern sort_mode_t sort_mode;
    6065extern bool excs_all;
    6166
     
    101106        stats_task_t *tasks;
    102107        perc_task_t *tasks_perc;
     108        size_t *tasks_map;
    103109       
    104110        size_t threads_count;
     
    110116       
    111117        stats_physmem_t *physmem;
     118       
     119        uint64_t *ucycles_diff;
     120        uint64_t *kcycles_diff;
     121        uint64_t *ecycles_diff;
     122        uint64_t *ecount_diff;
    112123} data_t;
    113124
Note: See TracChangeset for help on using the changeset viewer.