Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how much data could get in one ioctl_counter? #3

Open
unity3dhansen opened this issue Nov 4, 2022 · 0 comments
Open

how much data could get in one ioctl_counter? #3

unity3dhansen opened this issue Nov 4, 2022 · 0 comments

Comments

@unity3dhansen
Copy link

I follow the example to create the counters array to query some data.
I found the data is inconsistant each counter with different order。
eg. I create the counter item like this
`hpc_gpu_adreno_common_counter_t counters[] = {
HPC_GPU_ADRENO_COMMON_CP_BUSY_GFX_CORE_IDLE,
HPC_GPU_ADRENO_COMMON_CP_BUSY_CYCLES,

  HPC_GPU_ADRENO_COMMON_TP_L1_CACHELINE_REQUESTS,
  HPC_GPU_ADRENO_COMMON_TP_L1_CACHELINE_MISSES,

  HPC_GPU_ADRENO_COMMON_TP_OUTPUT_PIXELS_POINT,
  HPC_GPU_ADRENO_COMMON_TP_OUTPUT_PIXELS_BILINEAR,
  HPC_GPU_ADRENO_COMMON_TP_OUTPUT_PIXELS_MIP,
  HPC_GPU_ADRENO_COMMON_TP_OUTPUT_PIXELS_ANISO,
  HPC_GPU_ADRENO_COMMON_TP_OUTPUT_PIXELS_ZERO_LOD,

  HPC_GPU_ADRENO_COMMON_PC_VERTEX_HITS,
  HPC_GPU_ADRENO_COMMON_PC_NON_DRAWCALL_GLOBAL_EVENTS,

};`

And I got the result of counter data as the data1.
Then I change the counter item like:
`hpc_gpu_adreno_common_counter_t counters[] = {
HPC_GPU_ADRENO_COMMON_PC_VERTEX_HITS,
HPC_GPU_ADRENO_COMMON_PC_NON_DRAWCALL_GLOBAL_EVENTS,

  HPC_GPU_ADRENO_COMMON_CP_BUSY_GFX_CORE_IDLE,
  HPC_GPU_ADRENO_COMMON_CP_BUSY_CYCLES,

  HPC_GPU_ADRENO_COMMON_TP_L1_CACHELINE_REQUESTS,
  HPC_GPU_ADRENO_COMMON_TP_L1_CACHELINE_MISSES,

  HPC_GPU_ADRENO_COMMON_TP_OUTPUT_PIXELS_POINT,
  HPC_GPU_ADRENO_COMMON_TP_OUTPUT_PIXELS_BILINEAR,
  HPC_GPU_ADRENO_COMMON_TP_OUTPUT_PIXELS_MIP,
  HPC_GPU_ADRENO_COMMON_TP_OUTPUT_PIXELS_ANISO,
  HPC_GPU_ADRENO_COMMON_TP_OUTPUT_PIXELS_ZERO_LOD,    

};`
We got the result of counter data as the data2.
It is apperantly that the last two item is move to the first. In the same phone and the same scene, I got total different magnitudes data with the vertex_hit and non_dracall_global_event compared with data1.

I'm wondering if there is something limit with the size of counter item in one ioctl counter?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant