background image
<< To prepare for the example | Command Line Tasks >>
<< To prepare for the example | Command Line Tasks >>

To run the application

Command Line Interface
·
Memory Profiling instrumentation enabled
·
Performance Profiling instrumentation enabled
·
Runtime Tracing instrumentation enabled
·
Instrumentation of procedure inputs, outputs, and terminal instructions
·
Instrumentation of simple, implicit and logical blocks (loops)
·
Keep instrumented files
·
Multi-process support
3.
To install the Apache server, type the following command:
make install
This should display a message indicating that you have successfully built and
installed the Apache 1.3 HTTP server.
To run the application and view runtime analysis results
1.
Optionally, edit the configuration file apache_1.3.27/conf/httpd.conf.
2.
To start the Apache server, type the following command:
/projects/Apache_Test/apache_1.3.27/bin/apachectl start
3.
To stimulate the application, start a web browser on port 8080 (see the
httpd.conf file), type the following command:
netscape <IP Address>:8080
where <IP Address> is the IP address of the machine hosting the Apache server.
4.
To stop the Apache server, type the following command:
/projects/Apache_Test/apache_1.3.27/bin/apachectl stop
5.
To split the results, type the following command:
atlsplit *.spt
6.
To start the Test RealTime GUI to view the results, type the following
command:
studio `find . -name "*.fdc"` `find . -name "*.tsf"` *.tio *.tpf
*.tqf *.tdf
Calculating Metrics
This example demonstrates producing static metrics of the source code contained in
the BaseStation_C example project with the metcc command line. This example is
provided in the examples directory of Test RealTime.
323