Arm Community
Site
Search
User
Site
Search
User
Support forums
Architectures and Processors forum
Arm11 clock
Jump...
Cancel
State
Not Answered
Locked
Locked
Replies
7 replies
Subscribers
348 subscribers
Views
6123 views
Users
0 members are here
Arm11
Options
Share
More actions
Cancel
Related
How was your experience today?
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion
Arm11 clock
korner korner
over 12 years ago
Note: This was originally posted on 13th October 2008 at
http://forums.arm.com
Hello,
Does anyone know if there is a timestamp clock in Arm? Something like the RDTSC in intel?
Or some other high frequency clock?
I need a clock to mesure performance of my linux kernel (and I use the RTC for something else).
Thanks everyone!
Parents
0
Jacob Bramley
over 12 years ago
Note: This was originally posted on 13th October 2008 at
http://forums.arm.com
You can use the System Control Coprocessor (CP15) to perform performance monitoring. Under Linux, you'll need to do this from a driver so that you have access to a privileged execution mode.
Documentation for CP15 in the ARM1176 can be found [url="
http://infocenter.arm.com/help/topic/com.arm.doc.ddi0333g/Bgbgbgeb.html
"]here[/url]. If you're using a different ARM11 (such as the ARM1136), you'll need to look around to find it.
[url="
http://infocenter.arm.com/help/topic/com.arm.doc.ddi0333g/Bahcaafe.html
"]This page[/url] provides an overview of the performance monitor, but you'll need to fish around the CP15 documentation in order to find out how to use the registers.
Let me know if that's what you're after,
Jacob
Cancel
Vote up
0
Vote down
Cancel
Reply
0
Jacob Bramley
over 12 years ago
Note: This was originally posted on 13th October 2008 at
http://forums.arm.com
You can use the System Control Coprocessor (CP15) to perform performance monitoring. Under Linux, you'll need to do this from a driver so that you have access to a privileged execution mode.
Documentation for CP15 in the ARM1176 can be found [url="
http://infocenter.arm.com/help/topic/com.arm.doc.ddi0333g/Bgbgbgeb.html
"]here[/url]. If you're using a different ARM11 (such as the ARM1136), you'll need to look around to find it.
[url="
http://infocenter.arm.com/help/topic/com.arm.doc.ddi0333g/Bahcaafe.html
"]This page[/url] provides an overview of the performance monitor, but you'll need to fish around the CP15 documentation in order to find out how to use the registers.
Let me know if that's what you're after,
Jacob
Cancel
Vote up
0
Vote down
Cancel
Children
No data