Difference: PAMM_Phx_Jul07 (2 vs. 3)

Revision 32008-02-22 - ChenDing

Line: 1 to 1
 
META TOPICPARENT name="CompilerRepository"
Line: 21 to 21
 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. To instrument a managed binary application, simply type in the following instruction in the Phoenix SDK command prompt environment:
  • PAMM_Phx /in <filename> /num [num_obj] /mem [mem_bound]
Changed:
<
<
    • /in is the filename of the application to be instrumented
>
>
    • /in is the filename of the binary application to be instrumented
      • Currently can instrument C# binary or strictly managed C++ binary.
 
    • /num [num_obj] should be an integer number greater than 0. This is to specify the number of new objects before a memory check. In other words, during the runtime, a memory check is performed every num_obj new objects are created. If not provided, the default number will be set to 5000.
    • /mem [mem_bound] should be an integer number not less than 0. This is to specify the memory upper bound for the application during the runtime and the current unit is megabyte. When a memory check is performed, if the memory used by the application exceeds mem_bound MB, a garbage collection on the heap will be forced. The default value for this parameter is 0, which means there is no manually set upper bound and the .net virtual machine is in charge of the memory management.
After the instrumentation is done, a new binary code will be generated in the name of the application with a "-pamm" suffix attached.
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding URCS? Send feedback