Re: is there a way to read cp0_performance in user space?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux