In the following we describe the two basic methods of benchmarking provided with ViennaProfiler:
- Either by running a black-box application from command line
- or by injecting profiling statements directly in source-code.
Benchmarking at source code level is provided by the Profiler-class:
- myDBImpl...provides the connection to the database
- myTimerImpl...provides time measurement functionality
- "host"...has to be the host name of an existing host from the HOST-table