GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
rp2ps(1) Region-profile to Postscript generator rp2ps(1)

rp2ps - Region-profile to Postscript generator.

Part of the MLKit Standard ML compiler.

rp2ps [-region [filename]]
[-stack [filename]]
[-object regionNo [filename]]
[-sampleMax n]
[-sortByTime | -sortBySize]
[-vert] [-eps width (in|mm|pt)]
[-noOfBands n]
[-comment time string] [-mark time]
[-pregion regionNo] [-print] [-stat] [-findPrgPoint n]
[-source filename] [-name name] [-interact] [-help]

A description of the options are given below.

When invoked, rp2ps reads a profile data file (default is profile.rp) and outputs a Postscript file according to the provided options. Given a profile data file profile.rp, executing

rp2ps -region

will generate a region profile, which will be stored in a file region.ps. To get an overview of which program points allocate data in a particular region, use the -object option (see below).

For the MLKit compiler to generate a profile data file to process with rp2ps , it is necessary to pass the option -prof to the MLKit executable.

To learn more about region profiling with the MLKit, consult the MLKit manual "Programming with Regions in the MLKit", which is available from the MLKit home page and from the distributions. For more information about the MLKit, consult the MLKit home page:

http://melsman.github.io/mlkit

For examples, consult the MLKit manual "Programming with Regions in the MLKit", which is available from the MLKit home page and from the distributions.

Profile all regions with respect to size (default output filename is region.ps).
Profile stack with respect to size (default output filename is stack.ps).
Profile all objects in region N. (default output filename is objectN.ps, where N is a region number (region variable id).
Use only n samples (default is 64).
Choose samples equally distributed over sample time. This is the default behavior.
Choose the largest samples. This is not the default behavior.
Put a vertical line in the region graph for each sample used.
Produce encapsulated postscript with specified width w in inches (in), millimeters (mm) or points(pt).
Maximum number of bands shown on the region graph. Default (and possible maximum) is 20.
Use N (bytes) as fixed range of y-axis, -1 means no fixed range on y-axis.
Use tick numbers on x-axis instead of elapsed time.
Insert comment str (one word only) at time t in the region graph.
Insert mark at time t in the region graph.
Print region information about region variable N on stdout.
Print all profiling data on stdout.
Print statistics on stdout.
Print regions containing program point N.
Specify name of profile data file (default is profile.rp).
Name to print on top of region graph (default is rp2ps).
Enter interactive mode.
Print help information and exit.

Exits with status 0 on success and -1 on failure.

The MLKit (version 2 and beyond) was developed by Lars Birkedal, Martin Elsman, Niels Hallenberg, Tommy H. Olesen, Mads Tofte, and Carsten Varming. People who have contributed with bug-fixes and improvements include Peter Bertelsen, Ken Friis Larsen, Henning Niss, and Peter Sestoft. Nick Rothwell and David N. Turner took part in the development of the MLKit version 1.

mlkit(1)

The MLKit manual "Programming with Regions in the MLKit", available from the MLKit home page

http://melsman.github.io/mlkit

2024-11-27 MLKit v4.7.13

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.