🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.dec
Article #3690

Re: instruction trace generator wanted

#3690
From: Eric Muller
Date: Tue, 22 Dec 1992 06:50
55 lines
2282 bytes
You may want to have a look at qp/qpt.  Here are portion of the README:



	       QPT -- Quick Program Profiler and Tracer

     Copyright (c) 1991-92 by James R. Larus (larus@cs.wisc.edu).
			 ALL RIGHTS RESERVED.

[...]

This directory contains the source of QPT.  The QPT system is a fast
program profiler and tracing system.  A profiler counts the execution
frequency of basic blocks in a program (unlike the Unix commands prof
or gprof, which sample the program counter and obtain approximate
counts).  From these measurements, QPT can calculate the cost of any
statement or procedure in the program.  A tracing system records every
instruction execution and memory reference address.  QPT uses abstract
execution [1] and optimal tracing [2] to greatly reduce the cost of
tracing and the size of the trace files.

[...]

QPT can insert counters for profiling in two ways [2] The first
(called `slow') is to put a counter in every basic block.  The second
(called `quick') only puts counters in a small subset of the blocks.
The two methods usually produce identical results, however they can
differ slightly in some unusual cases.

[...]

Please report any bugs that you find.  I will try to fix them quickly.

James Larus
Computer Sciences Department
1210 West Dayton Street
University of Wisconsin
Madison, WI 53706 USA

608-262-9519
larus@cs.wisc.edu


[1] James R. Larus, "Abstract Execution: A Technique for Efficiently
Tracing Programs," Software Practice & Experience, v20, n12, p.
1241-1258, Dec. 1990.  Available as ae-tr.ps.Z from
primost.cs.wisc.edu:~ftp/pub.

[2] Thomas Ball and James R. Larus, "Optimally Profiling and Tracing
Programs," Principles of Programming Langauges (POPL 19), p. 59-70,
Jan 1992.  Available as opt-prof-trace.ps for from
primost.cs.wisc.edu:~ftp/pub.

-- 
Eric.
Technical Details
Message-ID: <1992Dec22.065010.18431@src.dec.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!haven.umd.edu!decuac!pa.dec.com!src.dec.com!bismol.pa.dec.com!muller
References: <20549@ucdavis.ucdavis.edu>

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.dec
Path: arc1-ca.pugleaf.net!sparky!uunet!haven.umd.edu!decuac!pa.dec.com!src.dec.com!bismol.pa.dec.com!muller
From: Eric Muller <muller@src.dec.com>
Subject: Re: instruction trace generator wanted
Message-ID: <1992Dec22.065010.18431@src.dec.com>
Sender: news@src.dec.com (News)
Organization: DEC Systems Research Center
References:  <20549@ucdavis.ucdavis.edu>
Date: Tue, 22 Dec 92 06:50:10 GMT
Lines: 56