summaryrefslogtreecommitdiffstats
path: root/sys/dev/hwpmc/hwpmc_tsc.c
Commit message (Collapse)AuthorAgeFilesLines
* - Separate PMC class dependent code from other kinds of machinejkoshy2008-11-091-0/+388
dependencies. A 'struct pmc_classdep' structure describes operations on PMCs; 'struct pmc_mdep' contains one or more 'struct pmc_classdep' structures depending on the CPU in question. Inside PMC class dependent code, row indices are relative to the PMCs supported by the PMC class; MI code in "hwpmc_mod.c" translates global row indices before invoking class dependent operations. - Augment the OP_GETCPUINFO request with the number of PMCs present in a PMC class. - Move code common to Intel CPUs to file "hwpmc_intel.c". - Move TSC handling to file "hwpmc_tsc.c".
OpenPOWER on IntegriCloud