PTU

 

PTU packages source code, data, environment, and a run-time reference execution. View the run-time reference execution and choose the steps to re-execute.  PTU drastically reduces replay time of programs. PTU is based on  CDE and includes provenance and replay features.

To start using PTU:

Authors: (1) Download PTU on your system. Run it. (2) Share the PTU-package with testers.
Testers: (1) View the reference execution, (2) Choose steps to run and replay, (3) Run ptu-exec


If you are a first time visitor experiment with our demo.



How to use PTU


The following  description will help in creating reference execution and replay:

0. Download PTU

            cd to PTU directory

         make

         export PTU_HOME=<<src directory of PTU>>

  1. 1.Create a self-contained package with a audit of the reference execution:

         cd <application_directory>

and  prepend the application command with the ptu-audit executable.

            $PTU_HOME/ptu-audit <application>

The system will create a ptu directory, which will contain the package (cde-package) and a directory containing the audited reference execution (gv). ptu directory can be shared with the testers.

2. View the full reference execution graph, change to ptu directory.

          firefox gv/main.html

to view a full process graph, subgraph of each process and a memory footprint.


  1. 3.Choose a process to start re-run. Note its PID on the node label of the graph.


  1. 4.Now rerun the part of the application starting from the process ID.

            ptu-exec -p <PID>