SYSTEM PROFILE UTILITY Release Level 03/27/91 This application consists of one runfile: ProfileSys.Run Product Name : System Profile Supported On : B24, B26, B27, B28, B38, B39, and all SuperGen hardware Supported OS : BTOS II, CTOS I, CTOS II, CTOS III Description : The System Profile utility will monitor the execution activity of all currently running tasks and will then display information about this activity on the screen. System Profile operates by generating a timer interrupt on a regular basis. When the interrupt occurs it determines what task is running and increments a counter associated with the task. Directions/Use : To run the System Profile utility execute the /System Profile command using the parameters which are described and detailed below: [Profile file name (def=ProfileFile)] This field is optional. This is the file to which profile data is written. [Delta in 50 micro intervals (def=200)] This field is optional. The Delta determines how often the system is examined for activity. It is the time between timer interrupts. The default is 10000 microseconds = 10 milliseconds. [Profile Time (def = 60 secs)] This field is optional. The maximum time to profile. (The FINISH key can be used to halt profiling before the maximum time has elapsed). [Write data to file y/n? (def = n)] This field is optional. If 'Yes' write the data to the file specified by the 'Profile file name' parameter. System Profile will output data to the screen at five second intervals. The data displayed looks like: System Profile Microseconds Per Tick 10000 Elapsed Ticks 3248 Elapsed Seconds 32 OS Ticks 68 Null Process Ticks 2593 All RM and GDT Task Ticks 30 Primary Ticks 371 Vdm_Ch 3.2(GDT|RM) Ticks ? Mouse Server(GDT|RM) Ticks ? Beep Service Ticks 111 CM01 Ticks 56 CM02 Ticks 0 CM03 Ticks 15 CM04 Ticks 5 Press FINISH to write current statistics and finish The data shown is: Microseconds per tick - This is the delta value. A tick means a tick of the clock, that is the occurrence of a timer interrupt. The elapsed time in terms of seconds and in terms of ticks. OS Ticks - The number of ticks that have occured while the OS is running. Null Process Ticks - The number of ticks that have occured while the OS null process is running. The null process is the lowest priority task that runs in the system. It only runs when no other task is running, that is when the system is idle. The total number of ticks used by all real mode and GDT protected mode tasks. This program can only gather specific activity information for protected mode programs. RM and GDT programs are lumped together. For each partition running a protected mode task the number of ticks used by that partition is displayed. The FINISH key can be pressed at any time to stop the profile. The finish will occur the next time that the screen is updated. COMMAND /System Profile [Profile file name (def=ProfileFile)] [Delta in 50 micro intervals (def=200)] [Profile Time (def = 60 secs)] [Write data to file y/n? (def = n)]