Changeset 62550dce in mainline for kernel/generic/include/ps/ps.h


Ignore:
Timestamp:
2010-04-01T21:31:25Z (15 years ago)
Author:
Stanislav Kozina <stanislav.kozina@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
dd6c71c
Parents:
79edc36
Message:

ps -c echoes info about CPU's
cpu count is accessible through sysinfo("cpu.count")

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/ps/ps.h

    r79edc36 r62550dce  
    3333 */
    3434
    35 #ifndef KERN_PS_H_
    36 #define KERN_PS_H_
     35#ifndef KERN_PS_PS_H_
     36#define KERN_PS_PS_H_
    3737
    3838#include <ps/taskinfo.h>
     39#include <ps/cpuinfo.h>
    3940
    4041extern size_t sys_ps_get_tasks(task_id_t *uspace_ids, size_t size);
    4142extern int sys_ps_get_task_info(task_id_t *uspace_id, task_info_t *uspace_info);
    4243extern int sys_ps_get_threads(task_id_t *uspace_id, thread_info_t *uspace_infos, size_t size);
     44extern int sys_ps_get_cpu_info(uspace_cpu_info_t *uspace_cpu);
    4345
    4446#endif
Note: See TracChangeset for help on using the changeset viewer.