The nprofile command-line utility
Calling Sequence
Parameters
Description
nprofile [sortmode] < filename
nprofile -callgraph [sortmode] < filename
[sortmode]
-
valid '-' option describing the sort mode (see below)
filename
name of file containing the profile
-callgraph
option specifying generation of a callgraph instead of a profile
nprofile (or nprofile.exe on Windows) is a command-line executable that can be used to efficiently process huge profile files, as generated by kernelopts(profile=true). This command includes all functionality currently available in the Maple exprofile and excallgraph functions.
The utility lives under the Maple installation directory in the specific Maple binary directory for the current platform. For example, on 64-bit Linux this would be <Maple install directory>/bin.X86_64_LINUX.
The data sort mode can be specified with a '-' option. The names have been chosen to be compatible with exprofile and excallgraph:
-alpha - sort table alphabetically by name of function
-ralpha - sort table reverse alphabetically by name of function
-time - sort table by increasing usage of cpu time
-rtime - sort table by decreasing usage of cpu time
-words - sort table by increasing usage of memory
-rwords - sort table by decreasing usage of memory
-calls - sort table by increasing number of calls to each function
-rcalls - sort table by decreasing number of calls to each function
-load - sort table by increasing memory^2*time
-rload - sort table by decreasing memory^2*time
The default sort mode for a profile is -rload.
For a description of the output format, see exprofile.
See Also
excallgraph
exprofile
kernelopts
Download Help Document