This is the instrumentation tool developed with Phoenix SDK Pre-release July 2007 for porting PAMM to windows platform. This tool can work well with the managed binary code written in either C# or managed C++. The instrumented code is supposed to check whether to invoke a garbage collection after a certain amount of new objects are created during the runtime, depending on the current memory usage information acquired from .net garbage collector.

Basic Manual

Acquiring the Code

The code can be checked out through svn with either of the two commands:
  • svn co file:///p/compiler/repos/PAMM_Phx_Jul07/trunk PAMM_Phx_Jul07
  • svn co svn+ssh://login@<cs-machine-name>/p/compiler/repos/PAMM_Phx_Jul07/trunk PAMM_Phx_Jul07

Project Directory

The project contains two sub-directory:
  • PAMM_Phx is the directory containing the source code of the main instrumentation tool including reading and writing managed binary and code injection.
  • PAMM_Handle is a DLL library which will be called by the instrumented binary to check the memory usage and call a garbage collection if necessary.
The already built executables are included in the subdirectory named bin.

Instrumenting a Managed Binary:

To use PAMM_Phx to instrument a managed binary application, the Phoenix SDK should be installed on the computer. The package can be downloaded for free from Microsoft. Make sure you have the PAMM_Phx.exe, PAMM_Handle.dll ,and the application to be instrumented in the same directory to make the tool work properly.
Edit | Attach | Watch | Print version | History: r5 | r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r1 - 2008-01-31 - JiashengShi
  • Edit
  • Attach
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding URCS? Send feedback