Changeset 452268a in mainline for uspace/app/top/top.h


Ignore:
Timestamp:
2010-04-03T16:52:07Z (14 years ago)
Author:
Stanislav Kozina <stanislav.kozina@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
acc3f745
Parents:
ee35ba0b
Message:

top echoes also percentage differencies of task cycles

File:
1 edited

Legend:

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

    ree35ba0b r452268a  
    3636#include <task.h>
    3737#include <kernel/ps/cpuinfo.h>
     38#include <kernel/ps/taskinfo.h>
    3839
    3940typedef struct {
     
    4344
    4445typedef struct {
    45         float user;
    46         float system;
    47         float memory;
     46        float ucycles;
     47        float kcycles;
     48        float pages;
    4849} task_perc_t;
    4950
     
    6162
    6263        unsigned int task_count;
    63         task_id_t *tasks;
     64        task_info_t *taskinfos;
     65        task_perc_t *task_perc;
    6466
    6567        unsigned int cpu_count;
Note: See TracChangeset for help on using the changeset viewer.