Re: How to measure the time ticks taken to execute a system call on ARM Processor

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

 



Vanitha Ramaswami wrote:

Sorry.. I am not getting what you are trying to say...What do you mean by
reference counter here.?? I am a software person...
I am using the Coyote IXP425 platform from ADI..!!..

This is the OSTS register on your platform. It is a free-running timer.


I tried to read the OSTS register to get the number of clock ticks.From
kernel space i could do it. but from user space i couldnt ..i am getting compilation errors when i try to include asm/hardware.h from user space.
Is there anyway out?

You could write a character device driver that reads this timer in kernel space and passes it to your application via the read() call.


Catalin

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux