Changeset 9dae191e in mainline for kernel/generic/include/sysinfo/abi.h
- Timestamp:
- 2010-04-18T00:24:40Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a80687e5
- Parents:
- d8e3467
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/sysinfo/abi.h
rd8e3467 r9dae191e 1 1 /* 2 * Copyright (c) 2010 Stanislav Kozina2 * Copyright (c) 2010 Martin Decky 3 3 * All rights reserved. 4 4 * … … 33 33 */ 34 34 35 #ifndef KERN_PS_CPU_H_ 36 #define KERN_PS_CPU_H_ 35 #ifndef KERN_ABI_H_ 36 #define KERN_ABI_H_ 37 38 #define LOAD_STEPS 3 39 #define TASK_NAME_BUFLEN 20 37 40 38 41 typedef struct { … … 41 44 uint64_t idle_ticks; 42 45 uint64_t busy_ticks; 43 } uspace_cpu_info_t; 46 } stats_cpu_t; 47 48 typedef struct { 49 uint64_t total; 50 uint64_t unavail; 51 uint64_t used; 52 uint64_t free; 53 } stats_physmem_t; 54 55 typedef struct { 56 uint64_t call_sent; 57 uint64_t call_recieved; 58 uint64_t answer_sent; 59 uint64_t answer_recieved; 60 uint64_t irq_notif_recieved; 61 uint64_t forwarded; 62 } stats_ipc_t; 63 64 typedef struct { 65 char name[TASK_NAME_BUFLEN]; 66 size_t virtmem; 67 size_t threads; 68 uint64_t ucycles; 69 uint64_t kcycles; 70 stats_ipc_t ipc_info; 71 } stats_task_t; 72 73 typedef uint32_t load_t; 44 74 45 75 #endif
Note:
See TracChangeset
for help on using the changeset viewer.