tags:

views:

45

answers:

1

How to count program unaligned address accesses on Sun OS and AIX. Or how to measure time to system handling this exception on Sun OS and AIX ?

+1  A: 

Not really an answer but here's a useful link to Developing and Tuning Applications on UltraSPARC T1 Chip Multithreading Systems. I was kind of hoping there was a dedicated performance counter for such stuff. There's also dtrace that might help here. All of this is for Solaris though, I have no idea if it's applicable to SunOS. No comment on AIX.

Here's also a blog entry of a guy measuring aligned vs. unaligned Sparc memory access.

Nikolai N Fetissov