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

Mali GPU performance counters query

Dear Team

I came across  HWCPipe library to access mali gpu performance counters from ARM. I would like to know if I sample performance counters each millisecond  independent of any graphics application as a separate process (Just hwcpipe apis) then is it shows the global/system wide count of that particular counter? How can I know at specific time which graphics process it belongs to when multiple gfx processes are running?

I know if i use HWCPipe apis inside gfx process then I can get it per process counters.

I would also like to understand How the gator daemon dumps the counter per process?  If you could provide any pointers then it will be very helpful to understand.

Thank you.

Best Regards,

Vikash

Parents
  • Hi Peter Harris,

    Could you please provide more details here? What does this mean and how does it work? I am checking is such thing is possible using HWCPipe or not.

    Which event is responsible for scheduling? I could see following events are available.

    drm:drm_vblank_event_delivered
    drm:drm_vblank_event_queued
    drm:drm_vblank_event
    mali:mali_jit_trim
    mali:mali_jit_trim_from_region
    mali:mali_jit_report_gpu_mem
    mali:sysgraph_gpu
    mali:sysgraph
    mali:mali_jit_report_pressure
    mali:mali_jit_report
    mali:mali_jit_free
    mali:mali_jit_alloc
    mali:mali_mmu_page_fault_grow
    mali:mali_total_alloc_pages_change
    mali:mali_page_fault_insert_pages
    mali:mali_pm_status
    mali:mali_job_slots_event
    power:gpu_frequency
    gpu_mem:gpu_mem_total

    Best Regards,

    Vikash

Reply
  • Hi Peter Harris,

    Could you please provide more details here? What does this mean and how does it work? I am checking is such thing is possible using HWCPipe or not.

    Which event is responsible for scheduling? I could see following events are available.

    drm:drm_vblank_event_delivered
    drm:drm_vblank_event_queued
    drm:drm_vblank_event
    mali:mali_jit_trim
    mali:mali_jit_trim_from_region
    mali:mali_jit_report_gpu_mem
    mali:sysgraph_gpu
    mali:sysgraph
    mali:mali_jit_report_pressure
    mali:mali_jit_report
    mali:mali_jit_free
    mali:mali_jit_alloc
    mali:mali_mmu_page_fault_grow
    mali:mali_total_alloc_pages_change
    mali:mali_page_fault_insert_pages
    mali:mali_pm_status
    mali:mali_job_slots_event
    power:gpu_frequency
    gpu_mem:gpu_mem_total

    Best Regards,

    Vikash

Children