On Tue, Mar 14, 2006 at 10:56:57AM +0800, zhuzhenhua wrote: > to test my deocder program, i want read cp0_performance, is there a > way to do that in linux? There is no interface to directly access the performance counter registers from an application as it is a priviledged CPU resource. You can however use oprofile's kernel interfaces. Ralf