Arm Community
Site
Search
User
Site
Search
User
Support forums
Arm Development Studio forum
Performance Counters on ARM1176JZF-S
Jump...
Cancel
Locked
Locked
Replies
6 replies
Subscribers
118 subscribers
Views
3969 views
Users
0 members are here
Options
Share
More actions
Cancel
Related
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
Performance Counters on ARM1176JZF-S
Andreas Abel
over 12 years ago
Note: This was originally posted on 14th August 2013 at
http://forums.arm.com
Hi,
I have a question about the performance counters on an ARM1176JZF-S. Does the event 0xB count L1 or L2 data cache misses?
Parents
Martin Weidmann
over 12 years ago
Note: This was originally posted on 19th August 2013 at
http://forums.arm.com
Couple of thoughts...
You running bare-metal? As you can't typically access the PMU directly from user space under Linux.
You should probably make "c" and/or a volatile, even at a low optimization level the compiler might eliminate your code otherwise.
I'd suggest taking a look at the assembler code the compiler has generated, to make sure it's what you expected.
Cancel
Vote up
0
Vote down
Cancel
Reply
Martin Weidmann
over 12 years ago
Note: This was originally posted on 19th August 2013 at
http://forums.arm.com
Couple of thoughts...
You running bare-metal? As you can't typically access the PMU directly from user space under Linux.
You should probably make "c" and/or a volatile, even at a low optimization level the compiler might eliminate your code otherwise.
I'd suggest taking a look at the assembler code the compiler has generated, to make sure it's what you expected.
Cancel
Vote up
0
Vote down
Cancel
Children
No data