Changeset 9dae191e in mainline for uspace/app/top


Ignore:
Timestamp:
2010-04-18T00:24:40Z (15 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a80687e5
Parents:
d8e3467
Message:

sysinfo API cleanup

  • better support for generated subtrees
  • synchronization
  • memory management (generated items cleanup)
  • simplier sysinfo_dump()

remove separate statistical syscalls, replace with virtual sysinfo items (some functionality is still missing)

  • naming consolidation
  • cleaner API
  • proper synchronization

minor renames

  • zone_print_list() → zones_print_list()
  • zone_busy_and_free() → zones_stats()
Location:
uspace/app/top
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/top/Makefile

    rd8e3467 r9dae191e  
    2929
    3030USPACE_PREFIX = ../..
    31 BINARY = top
     31# BINARY = top
    3232
    3333SOURCES = \
  • uspace/app/top/func.c

    rd8e3467 r9dae191e  
    3333/**
    3434 * @file
    35  * @brief       Miscellaneous functions.
     35 * @brief Miscellaneous functions.
    3636 */
    3737
    38 #include <stdio.h>
    39 
     38#include <stdint.h>
    4039#include "func.h"
    4140
  • uspace/app/top/func.h

    rd8e3467 r9dae191e  
    2727 */
    2828
    29 /** @addtogroup ps
     29/** @addtogroup top
    3030 * @{
    3131 */
     
    3636#define FUNC_H_
    3737
    38 extern void order(const uint64_t val, uint64_t *rv, char *suffix);
     38#include <stdint.h>
     39
     40extern void order(const uint64_t, uint64_t *, char *);
    3941
    4042#endif
Note: See TracChangeset for help on using the changeset viewer.