Dror Feitelson's page on performance
evaluation has links to a wealth of material including
publicly
available trace data, benchmarks, performance tools, software for data
analysis, and also to many educational web sites on statistics and
simulation.
The PAPI
software provides an API for accessing hardware performance counters
available on most microprocessors.