You need to flush the graphics pipeline properly, and account for timer granularity and measurement overhead. Therefore you'll want to save performance measurements and reuse them whenever possible. Disk and network throughput, processing time for a particular set of data, performance on uniprocessor and multiprocessor systems. This document describes two libraries that can help with all of the tasks just mentioned. These libraries aren't a substitute for comprehensive benchmarking and performance analysis, but they can handle simple tasks easily.
All libpdb routines return a value of type pdbStatusT, which is a bitmask of error conditions.
The database contains one or more records that could not be parsed. The database does not contain the record requested by the application. The argument 'filename' is the pathname of the database file. Normally applications should look for the performance data they need before going to the trouble of taking measurements. The first argument is a zero-terminated string giving the name of the machine for which the measurement is sought.