XenevaOS
Loading...
Searching...
No Matches
Public Attributes | List of all members
drm_panthor_timestamp_info Struct Reference

#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
 

Detailed Description

struct drm_panthor_timestamp_info - Timestamp information

Structure grouping all queryable information relating to the GPU timestamp.

Member Data Documentation

◆ cpu_timestamp_nsec

__u64 drm_panthor_timestamp_info::cpu_timestamp_nsec

@cpu_timestamp_nsec: Nanseconds part of CPU timestamp.

◆ cpu_timestamp_sec

__u64 drm_panthor_timestamp_info::cpu_timestamp_sec

@cpu_timestamp_sec: Seconds part of CPU timestamp.

◆ current_timestamp

__u64 drm_panthor_timestamp_info::current_timestamp

@current_timestamp: The current GPU timestamp.

◆ cycle_count

__u64 drm_panthor_timestamp_info::cycle_count

@cycle_count: Value of GPU_CYCLE_COUNT.

◆ duration_nsec

__u32 drm_panthor_timestamp_info::duration_nsec

@duration_nsec: Duration of time query.

◆ flags

__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):

  • DRM_PANTHOR_TIMESTAMP_CPU_NONE
  • DRM_PANTHOR_TIMESTAMP_CPU_MONOTONIC
  • DRM_PANTHOR_TIMESTAMP_CPU_MONOTONIC_RAW

◆ timestamp_frequency

__u64 drm_panthor_timestamp_info::timestamp_frequency

@timestamp_frequency: The frequency of the timestamp timer or 0 if unknown.

◆ timestamp_offset

__u64 drm_panthor_timestamp_info::timestamp_offset

@timestamp_offset: The offset of the GPU timestamp timer.


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