Keywords: C++ , library , profile

Empirical Cost Model
Prev | Chapter 32. Profile Mode | Next

## Empirical Cost Model

Currently, the cost model uses formulas with predefined relative weights for alternative containers or container implementations. For instance, iterating through a vector is X times faster than iterating through a list.

(Under development.) We are working on customizing this to a particular machine by providing an automated way to compute the actual relative weights for operations on the given machine.

(Under development.) We plan to provide a performance parameter database format that can be filled in either by hand or by an automated training mechanism. The analysis module will then use this database instead of the built in. generic parameters.

Prev | Up | Next
Extensions for Custom Containers | Home | Implementation Issues