Changeset 641 for trunk/kernel/syscalls/shared_include
- Timestamp:
- Oct 10, 2019, 1:42:04 PM (5 years ago)
- Location:
- trunk/kernel/syscalls/shared_include
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/syscalls/shared_include/shared_almos.h
r626 r641 58 58 display_type_t; 59 59 60 /******************************************************************************************* 61 * This structure defines the - user accessible - information stored in a thread. 62 ******************************************************************************************/ 63 64 typedef struct thread_info_s 65 { 66 unsigned long false_pgfault_nr; /*! number of local page fault */ 67 unsigned long false_pgfault_cost; /*! cumulated cost */ 68 unsigned long false_pgfault_max; /*! max cost of a local page fault */ 69 70 unsigned long local_pgfault_nr; /*! number of local page fault */ 71 unsigned long local_pgfault_cost; /*! cumulated cost */ 72 unsigned long local_pgfault_max; /*! max cost of a false page fault */ 73 74 unsigned long global_pgfault_nr; /*! number of global page fault */ 75 unsigned long global_pgfault_cost; /*! cumulated cost */ 76 unsigned long global_pgfault_max; /*! max cost of a global page fault */ 77 78 unsigned long long last_cycle; /*! last cycle counter value (date) */ 79 unsigned long long usr_cycles; /*! user execution duration (cycles) */ 80 unsigned long long sys_cycles; /*! system execution duration (cycles) */ 81 } 82 thread_info_t; 60 83 61 84 #endif /* _SHARED_ALMOS_H_ */ -
trunk/kernel/syscalls/shared_include/syscalls_numbers.h
r637 r641 31 31 typedef enum 32 32 { 33 SYS_THREAD_EXIT = 0,34 SYS_THREAD_YIELD = 1,35 SYS_THREAD_CREATE = 2,36 SYS_THREAD_JOIN = 3,37 SYS_THREAD_DETACH = 4,38 SYS_THREAD_CANCEL = 5,39 SYS_SEM = 6,40 SYS_CONDVAR = 7,41 SYS_BARRIER = 8,42 SYS_MUTEX = 9,33 SYS_THREAD_EXIT = 0, 34 SYS_THREAD_YIELD = 1, 35 SYS_THREAD_CREATE = 2, 36 SYS_THREAD_JOIN = 3, 37 SYS_THREAD_DETACH = 4, 38 SYS_THREAD_CANCEL = 5, 39 SYS_SEM = 6, 40 SYS_CONDVAR = 7, 41 SYS_BARRIER = 8, 42 SYS_MUTEX = 9, 43 43 44 SYS_RENAME = 10,45 SYS_MUNMAP = 11,46 SYS_OPEN = 12,47 SYS_MMAP = 13,48 SYS_READ = 14,49 SYS_WRITE = 15,50 SYS_LSEEK = 16,51 SYS_CLOSE = 17,52 SYS_UNLINK = 18,53 SYS_PIPE = 19,44 SYS_RENAME = 10, 45 SYS_MUNMAP = 11, 46 SYS_OPEN = 12, 47 SYS_MMAP = 13, 48 SYS_READ = 14, 49 SYS_WRITE = 15, 50 SYS_LSEEK = 16, 51 SYS_CLOSE = 17, 52 SYS_UNLINK = 18, 53 SYS_PIPE = 19, 54 54 55 SYS_CHDIR = 20,56 SYS_MKDIR = 21,57 SYS_MKFIFO = 22,58 SYS_OPENDIR = 23,59 SYS_READDIR = 24,60 SYS_CLOSEDIR = 25,61 SYS_GETCWD = 26,62 SYS_ISATTY = 27,63 SYS_ALARM = 28,64 SYS_RMDIR = 29,55 SYS_CHDIR = 20, 56 SYS_MKDIR = 21, 57 SYS_MKFIFO = 22, 58 SYS_OPENDIR = 23, 59 SYS_READDIR = 24, 60 SYS_CLOSEDIR = 25, 61 SYS_GETCWD = 26, 62 SYS_ISATTY = 27, 63 SYS_ALARM = 28, 64 SYS_RMDIR = 29, 65 65 66 SYS_UTLS = 30,67 SYS_CHMOD = 31,68 SYS_SIGNAL = 32,69 SYS_TIMEOFDAY = 33,70 SYS_KILL = 34,71 SYS_GETPID = 35,72 SYS_FORK = 36,73 SYS_EXEC = 37,74 SYS_STAT = 38,75 SYS_WAIT = 39,66 SYS_UTLS = 30, 67 SYS_CHMOD = 31, 68 SYS_SIGNAL = 32, 69 SYS_TIMEOFDAY = 33, 70 SYS_KILL = 34, 71 SYS_GETPID = 35, 72 SYS_FORK = 36, 73 SYS_EXEC = 37, 74 SYS_STAT = 38, 75 SYS_WAIT = 39, 76 76 77 SYS_GET_CONFIG = 40,78 SYS_GET_CORE_ID = 41,79 SYS_GET_CYCLE = 42,80 SYS_DISPLAY = 43,81 SYS_PLACE_FORK = 44,82 SYS_THREAD_SLEEP = 45,83 SYS_THREAD_WAKEUP = 46,84 SYS_TRACE = 47,85 SYS_FG = 48,86 SYS_IS_FG = 49,77 SYS_GET_CONFIG = 40, 78 SYS_GET_CORE_ID = 41, 79 SYS_GET_CYCLE = 42, 80 SYS_DISPLAY = 43, 81 SYS_PLACE_FORK = 44, 82 SYS_THREAD_SLEEP = 45, 83 SYS_THREAD_WAKEUP = 46, 84 SYS_TRACE = 47, 85 SYS_FG = 48, 86 SYS_IS_FG = 49, 87 87 88 SYS_EXIT = 50, 89 SYS_SYNC = 51, 90 SYS_FSYNC = 52, 91 SYS_GET_BEST_CORE = 53, 92 SYS_GET_NB_CORES = 54, 88 SYS_EXIT = 50, 89 SYS_SYNC = 51, 90 SYS_FSYNC = 52, 91 SYS_GET_BEST_CORE = 53, 92 SYS_GET_NB_CORES = 54, 93 SYS_GET_THREAD_INFO = 55, 93 94 94 SYSCALLS_NR = 55,95 SYSCALLS_NR = 56, 95 96 96 97 } syscalls_t;
Note: See TracChangeset
for help on using the changeset viewer.