Changeset dec16a2 in mainline for uspace/app/top/screen.h


Ignore:
Timestamp:
2010-04-18T16:52:47Z (14 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5c45ca8
Parents:
e535eeb
Message:
  • sysinfo items "system.tasks" and "system.threads" now return complete statistics of all tasks and threads (statistics of individual tasks and threads can be still acquited from "system.tasks.#" and "system.threads.#")
  • update user space functions accordingly
  • cleanup top — it is fully functional again
File:
1 edited

Legend:

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

    re535eeb rdec16a2  
    11/*
    2  * Copyright (c) 2008 Stanislav Kozina
     2 * Copyright (c) 2010 Stanislav Kozina
     3 * Copyright (c) 2010 Martin Decky
    34 * All rights reserved.
    45 *
     
    3637#include "top.h"
    3738
    38 extern int rows;
    39 extern int colls;
    40 
    4139extern void screen_init(void);
    42 extern void clear_screen(void);
    43 extern void moveto(int r, int c);
    44 extern void print_data(data_t *data);
    45 
    46 extern int up_rows;
    47 #define PRINT_WARNING(message, ...) \
    48 do { \
    49         moveto(up_rows - 1, 0); \
    50         printf(message, ##__VA_ARGS__); \
    51         fflush(stdout); \
    52 } while (0)
     40extern void screen_done(void);
     41extern void print_data(data_t *);
     42extern void print_warning(const char *, ...);
    5343
    5444#endif
Note: See TracChangeset for help on using the changeset viewer.