minix/kernel/system
Tomas Hruby 1b56fdb33c Time accounting based on TSC
- as thre are still KERNEL and IDLE entries, time accounting for
  kernel and idle time works the same as for any other process

- everytime we stop accounting for the currently running process,
  kernel or idle, we read the TSC counter and increment the p_cycles
  entry.

- the process cycles inherently include some of the kernel cycles as
  we can stop accounting for the process only after we save its
  context and we start accounting just before we restore its context

- this assumes that the system does not scale the CPU frequency which
  will be true for ... long time ;-)
2010-02-10 15:36:54 +00:00
..
do_abort.c Removal of the system task 2010-02-09 15:20:09 +00:00
do_copy.c This patch removes the global variables who_p and who_e from the 2010-02-03 09:04:48 +00:00
do_cprofile.c Removal of the system task 2010-02-09 15:20:09 +00:00
do_devio.c This patch removes the global variables who_p and who_e from the 2010-02-03 09:04:48 +00:00
do_endksig.c No locking in kernel code 2010-02-09 15:26:58 +00:00
do_exec.c No locking in kernel code 2010-02-09 15:26:58 +00:00
do_exit.c No locking in kernel code 2010-02-09 15:26:58 +00:00
do_fork.c No locking in kernel code 2010-02-09 15:26:58 +00:00
do_getinfo.c Time accounting based on TSC 2010-02-10 15:36:54 +00:00
do_getksig.c No locking in kernel code 2010-02-09 15:26:58 +00:00
do_irqctl.c intr_disabled() tests removed 2010-02-09 15:29:58 +00:00
do_kill.c This patch removes the global variables who_p and who_e from the 2010-02-03 09:04:48 +00:00
do_memset.c This patch removes the global variables who_p and who_e from the 2010-02-03 09:04:48 +00:00
do_newmap.c Removal of the system task 2010-02-09 15:20:09 +00:00
do_nice.c No locking in kernel code 2010-02-09 15:26:58 +00:00
do_privctl.c No locking in kernel code 2010-02-09 15:26:58 +00:00
do_profbuf.c This patch removes the global variables who_p and who_e from the 2010-02-03 09:04:48 +00:00
do_runctl.c No locking in kernel code 2010-02-09 15:26:58 +00:00
do_safecopy.c Removal of the system task 2010-02-09 15:20:09 +00:00
do_safemap.c No locking in kernel code 2010-02-09 15:26:58 +00:00
do_segctl.c This patch removes the global variables who_p and who_e from the 2010-02-03 09:04:48 +00:00
do_setalarm.c No locking in kernel code 2010-02-09 15:26:58 +00:00
do_setgrant.c This patch removes the global variables who_p and who_e from the 2010-02-03 09:04:48 +00:00
do_sigreturn.c Removal of the system task 2010-02-09 15:20:09 +00:00
do_sigsend.c Removal of the system task 2010-02-09 15:20:09 +00:00
do_sprofile.c Removal of the system task 2010-02-09 15:20:09 +00:00
do_stime.c This patch removes the global variables who_p and who_e from the 2010-02-03 09:04:48 +00:00
do_sysctl.c Removal of the system task 2010-02-09 15:20:09 +00:00
do_times.c This patch removes the global variables who_p and who_e from the 2010-02-03 09:04:48 +00:00
do_trace.c No locking in kernel code 2010-02-09 15:26:58 +00:00
do_umap.c This patch removes the global variables who_p and who_e from the 2010-02-03 09:04:48 +00:00
do_unused.c This patch removes the global variables who_p and who_e from the 2010-02-03 09:04:48 +00:00
do_vdevio.c No locking in kernel code 2010-02-09 15:26:58 +00:00
do_vmctl.c No locking in kernel code 2010-02-09 15:26:58 +00:00
do_vtimer.c This patch removes the global variables who_p and who_e from the 2010-02-03 09:04:48 +00:00
Makefile remove SYS_MAPDMA 2010-01-19 21:24:42 +00:00