google / hardware-perfcounter Goto Github PK
View Code? Open in Web Editor NEWlibraries and utilities for sampling hardware performance counters
License: Apache License 2.0
libraries and utilities for sampling hardware performance counters
License: Apache License 2.0
ninja: error: '../third_party/envytools/registers/adreno/a5xx.xml', needed by '../lib/gpu/adreno/a5xx.c', missing and no known rule to make it
Could you make readme more specificly ?
e.g NDK version ; targetSDK version , c/c++ specific Compiler and version , ninjia version . Thanks .
Is there any plans to support the adreno 7xx series?
Compiled for Android using Readme, and getting:
crate context: Out of memory
When I try to run the mali_common_c_example
on a Pixel 6 Pro 99% of the time.
I want to collect performance datas which are the same as SnapDragon profiler. But I can't find any information about the counters which this project collects at Qcom Websites, and the counters are different from Snapdragon profiler.
Could you give me some suggestions? Thanks a lot.
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?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.