My Project
Public Attributes | List of all members
base_dump_cpu_gpu_counters Struct Reference

Structure for BASE_JD_REQ_SOFT_DUMP_CPU_GPU_COUNTERS jobs. More...

#include <mali_base_kernel.h>

Public Attributes

u64 system_time
 
u64 cycle_counter
 
u64 sec
 
u32 usec
 
u8 padding [BASE_CPU_GPU_CACHE_LINE_PADDING]
 

Detailed Description

Structure for BASE_JD_REQ_SOFT_DUMP_CPU_GPU_COUNTERS jobs.

This structure is stored into the memory pointed to by the jc field of base_jd_atom.

This structure must be padded to ensure that it will occupy whole cache lines. This is to avoid cases where access to pages containing the structure is shared between cached and un-cached memory regions, which would cause memory corruption. Here we set the structure size to be 64 bytes which is the cache line for ARM A15 processors.


The documentation for this struct was generated from the following file: