|
XenevaOS
|
#include <panthor_drm.h>
Public Attributes | |
| __u64 | timestamp_frequency |
| __u64 | current_timestamp |
| __u64 | timestamp_offset |
| __u32 | flags |
| __u32 | duration_nsec |
| __u64 | cycle_count |
| __u64 | cpu_timestamp_sec |
| __u64 | cpu_timestamp_nsec |
struct drm_panthor_timestamp_info - Timestamp information
Structure grouping all queryable information relating to the GPU timestamp.
| __u64 drm_panthor_timestamp_info::cpu_timestamp_nsec |
@cpu_timestamp_nsec: Nanseconds part of CPU timestamp.
| __u64 drm_panthor_timestamp_info::cpu_timestamp_sec |
@cpu_timestamp_sec: Seconds part of CPU timestamp.
| __u64 drm_panthor_timestamp_info::current_timestamp |
@current_timestamp: The current GPU timestamp.
| __u64 drm_panthor_timestamp_info::cycle_count |
@cycle_count: Value of GPU_CYCLE_COUNT.
| __u32 drm_panthor_timestamp_info::duration_nsec |
@duration_nsec: Duration of time query.
| __u32 drm_panthor_timestamp_info::flags |
@flags: Bitmask of drm_panthor_timestamp_info_flags.
If set to 0, then it is interpreted as: DRM_PANTHOR_TIMESTAMP_GPU | DRM_PANTHOR_TIMESTAMP_GPU_OFFSET | DRM_PANTHOR_TIMESTAMP_FREQ
Note: these flags are exclusive to each other (only one can be used):
| __u64 drm_panthor_timestamp_info::timestamp_frequency |
@timestamp_frequency: The frequency of the timestamp timer or 0 if unknown.
| __u64 drm_panthor_timestamp_info::timestamp_offset |
@timestamp_offset: The offset of the GPU timestamp timer.