-
Hi, I was wondering if it is possible to measure different counters on different clusters using Simpleperf The command, I am using is |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 9 replies
-
Oh and another question...
it returns an error:
I was wondering why that is? On Arm Mobile Development, it does seem to work with 7 so just wanted to make sure. |
Beta Was this translation helpful? Give feedback.
-
@yabinc just a reminder, since it's been a while and Simpleperf is usually handled by you |
Beta Was this translation helpful? Give feedback.
-
Sorry for the long delay. For the second question, I agree pixel 6 clusters should support 7 counters (including 1 only for cpu-cycles). But in reality, I feel only 6 counters are available. When using 6 counters: r11(tid -1, cpu 0): count 342598317, time_enabled 1001710528, time running 1001710528, id 303254 cpu count event_name # count / runtime0 342,598,317 r11 # 342.013 M/sec Total test time: 1.001508 seconds. The time running and time_enabled are the same for all counters. But when using 7 counters: r11(tid -1, cpu 0): count 35847348, time_enabled 1002033037, time running 858269610, id 303358 cpu count event_name # count / runtime0 35,847,348 r11 # 41.767 M/sec Total test time: 1.001116 seconds. The time running are smaller than time_enabled for all counters. It means there are counter multiplexing. |
Beta Was this translation helpful? Give feedback.
-
sorry, that's our stupid "security" setup that rewrites URLs internally, making them useless for outsiders. any time you see a URL like "android-review.git.corp.google.com" you need to change it back to "android-review.googlesource.com". |
Beta Was this translation helpful? Give feedback.
The support of monitoring different events on different cores was added in https://android-review.git.corp.google.com/c/platform/system/extras/+/2799485. The document was updated in https://android-review.git.corp.google.com/c/platform/system/extras/+/2810673.
You can build simpleperf executable as in https://android.googlesource.com/platform/system/extras/+/master/simpleperf/doc/README.md#bugs-and-contribution.
The executable in https://android.googlesource.com/platform/system/extras/+/master/simpleperf/scripts/bin/android/arm64 will be updated once https://android-review.git.corp.google.com/c/platform/system/extras/+/2811126 is submitted.