]> Zhao Yanbai Git Server - minix.git/commit
The profile utility can set the sprofiling mode
authorTomas Hruby <tom@minix3.org>
Thu, 23 Sep 2010 10:49:42 +0000 (10:49 +0000)
committerTomas Hruby <tom@minix3.org>
Thu, 23 Sep 2010 10:49:42 +0000 (10:49 +0000)
commit74c5cd7668d5b42a25b876fd078f2daef0519a7c
tree2fa8d1c4b6f55306a480bb64164621f9e40565ec
parentdb12229ce307900e3dbaf8384d68e50dc6e06635
The profile utility can set the sprofiling mode

- profile --nmi | --rtc sets the profiling mode

- --rtc is default, uses BIOS RTC, cannot profile kernel the presetted
  frequency values apply

- --nmi is only available in APIC mode as it uses the NMI watchdog, -f
  allows any frequency in Hz

- both modes use compatible data structures
commands/profile/profile.c
include/minix/com.h
include/minix/ipc.h
include/minix/profile.h
include/minix/syslib.h
lib/libc/other/_sprofile.c
lib/libsys/sys_sprof.c
servers/pm/profile.c