Changeset dd6c71c in mainline for uspace/app/top/top.c


Ignore:
Timestamp:
2010-04-02T08:27:13Z (14 years ago)
Author:
Stanislav Kozina <stanislav.kozina@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
175ad5c6
Parents:
62550dce
Message:

top echoes counts of tasks

File:
1 edited

Legend:

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

    r62550dce rdd6c71c  
    4747#include "input.h"
    4848#include "top.h"
     49#include "ps.h"
    4950
    5051#define UPDATE_INTERVAL 1
     
    7677        /* Read load */
    7778        get_load(target->load);
     79
     80        /* Read task ids */
     81        target->task_count = get_tasks(&target->tasks);
    7882}
    7983
     
    111115        }
    112116
     117        free(new_data.tasks);
    113118        puts("\n\n");
    114119        fflush(stdout);
Note: See TracChangeset for help on using the changeset viewer.