3 profile \- MINIX system profiling control command
41 This command controls MINIX system profiling. There is support for
42 statistical profiling, which causes a CMOS interrupt to regularly sample
43 the position of the program counter, and call profiling, which uses
44 compiler hooks to measure the time and frequency of call paths.
46 For statistical profiling support, recompile the kernel with SPROFILE in
47 <minix/config.h> set to 1. For call profiling support, recompile the
48 system with new libraries with CPROFILE <minix/config.h> set to 1 and
49 environment variable CPROFILE set to -Rcem-p.
52 start measuring using statistical profiling.
54 stop measuring using statistical profiling.
56 retrieve call profiling data
58 reset call profiling data
60 memory buffer size used to store profiling data in, allocated by the
65 frequency for statistical sampling.
67 After you have the output file, analysis can be done using the