|Performance Monitor Utilities||
initial writing: 2000-07-17|
last updated: 2001-04-13
load 'jpm'This populates the jpm locale. PM ignores any definitions in this locale, so PM definitions should be run directly from this locale, rather than from cover functions in the z or other locales.
|start_jpm_||set PM on|
|stop_jpm_||set PM off|
|read_jpm_||read PM data|
start_jpm_ '' runapp '' showtotal_jpm_'' showdetail_jpm_ 'runapp' showdetail_jpm_ 'printapp'
start_jpm_ '' app1 '' stop_jpm_ '' app2 '' start_jpm_ '' app3 '' showtotal_jpm_ ''
start_jpm_ '' runapp '' viewtotal_jpm_ ''This displays the PM results in a grid. Detail results for any definition are shown by double-clicking the line in the grid.
|opt start_jpm_ size||opt = left argument to 6!:10 ,
(default 1=all lines, 0=wrap)|
size = data area, or size of data area (if '' uses SIZE_jpm_)
Starts PM, with given options and buffer size. If PM is already on, the call is ignored.
|stop_jpm_ ''||Stops PM. If PM is already off, the call is ignored.|
|read_jpm_ ''||Read the PM data. If PM is on, stops PM. If PM data has already been read, the call is ignored.|
|opt showtotal_jpm_ names||opt has 0 - 3 numbers:|
0 - 0=time (default) 1=space
1 - 0=distinguish names by locales (default) 1=total names
2 - percentage of values show in detail (default 90)
Show the PM total data. If PM data has not yet been read, calls read_jpm_ first.
|opt showdetail_jpm_ name||opt is 0=time (default) 1=space|
name is a single name, given as: name_locale_ or name;locale
Show the PM detail data for the given name. If PM data has not yet been read, calls read_jpm_ first.
|opt viewtotal_jpm_ names||View the PM total data in a grid. Arguments are the same as for showtotal_jpm_ .|
|opt viewdetail_jpm_ name||View the PM total data in a grid. Arguments are the same as for showdetail_jpm_ .|