6 #ifndef _PSP2_RAZOR_HUD_H_
7 #define _PSP2_RAZOR_HUD_H_
void * buffer
Definition: bt.h:6
uint32_t duration
Duration of the frame in microseconds.
Definition: razor_hud.h:137
uint32_t vdm_primitives_input_num
VDM input primitives number.
Definition: razor_hud.h:76
SceRazorGpuLiveEntryJobFragmentValues1 fragment_values_type1
Values for a job of SCE_RAZOR_LIVE_TRACE_METRIC_JOB_TYPE_FRAGMENT1 type.
Definition: razor_hud.h:102
uint64_t start_time
Start time of the results collection in microseconds.
Definition: razor_hud.h:49
uint32_t tiling_accelerated_mem_writes
Amount of tiling accelerated memory writes in bytes.
Definition: razor_hud.h:91
uint64_t start_time
Start time of the entry in microseconds.
Definition: razor_hud.h:136
int sceRazorGpuLiveStop()
Stops gpu live debugging.
uint16_t entry_size
Entry size in bytes.
Definition: razor_hud.h:57
int sceRazorGpuLiveStart()
Starts gpu live debugging.
SceSize overflow_count
Definition: razor_hud.h:47
uint32_t rasterized_pixels_before_hsr_num
Number of rasterized pixels before Hidden Surface Removal.
Definition: razor_hud.h:84
int reserved[8]
Reserved data.
Definition: razor_hud.h:107
float usse_vertex_processing_percent
USSE vertex processing percentage.
Definition: razor_hud.h:64
uint32_t metric_group
Metrics group used for the results.
Definition: razor_hud.h:51
uint64_t peak_usage_timestamp
Time of param buffer peak usage in microseconds.
Definition: razor_hud.h:127
uint32_t frame_number
Frame number in which the job got executed.
Definition: razor_hud.h:118
SceRazorGpuLiveEntryJobFragmentValues2 fragment_values_type2
Values for a job of SCE_RAZOR_LIVE_TRACE_METRIC_JOB_TYPE_FRAGMENT2 type.
Definition: razor_hud.h:104
SceRazorGpuLiveEntryJobVertexValues1 vertex_values_type1
Values for a job of SCE_RAZOR_LIVE_TRACE_METRIC_JOB_TYPE_VERTEX1 type.
Definition: razor_hud.h:101
uint32_t rasterized_output_pixels_num
Number of rasterized pixels.
Definition: razor_hud.h:85
uint32_t mte_vertices_output_num
MTE output vertices number.
Definition: razor_hud.h:79
uint64_t end_time
End time of the entry in microseconds.
Definition: razor_hud.h:114
int8_t core
Core number on which the job got executed.
Definition: razor_hud.h:116
SceSize buffer_size
Size of the results buffer in bytes.
Definition: razor_hud.h:48
int unk
Unknown data.
Definition: razor_hud.h:121
uint32_t mte_primitives_output_num
MTE output primitives number.
Definition: razor_hud.h:77
uint16_t scene_index
Index of the scene in which the job got executed.
Definition: razor_hud.h:117
SceRazorGpuLiveEntryJobVertexValues2 vertex_values_type2
Values for a job of SCE_RAZOR_LIVE_TRACE_METRIC_JOB_TYPE_VERTEX2 type.
Definition: razor_hud.h:103
VITASDK_BUILD_ASSERT_EQ(0x28, SceRazorGpuLiveResultInfo)
SceRazorLiveTraceMetricJobType
Enumeration for the gpu live results job types.
Definition: razor_hud.h:32
float usse_fragment_processing_percent
USSE fragment processing percentage.
Definition: razor_hud.h:69
float usse_non_dependent_texture_reads_percent
USSE non-dependant texture reads requests percentage.
Definition: razor_hud.h:71
int reserved
Reserved data.
Definition: razor_hud.h:59
float usse_dependent_texture_reads_percent
USSE dependant texture reads requests percentage.
Definition: razor_hud.h:70
uint32_t rasterized_output_samples_num
Number of rasterized samples.
Definition: razor_hud.h:86
SceRazorGpuLiveEntryJobVertexValues3 vertex_values_type3
Values for a job of SCE_RAZOR_LIVE_TRACE_METRIC_JOB_TYPE_VERTEX3 type.
Definition: razor_hud.h:105
void * result_data
Pointer to the raw data results entries.
Definition: razor_hud.h:45
uint32_t peak_usage_value
Memory peak usage of the param buffer in bytes.
Definition: razor_hud.h:128
SceRazorLiveTraceMetricEntryType
Enumeration for the gpu live results entry types.
Definition: razor_hud.h:25
uint32_t isp_parameter_fetches_mem_reads
Amount of ISP parameter fetches memory reads in bytes.
Definition: razor_hud.h:96
uint64_t start_time
Start time of the entry in microseconds.
Definition: razor_hud.h:113
uint8_t type
The type of the job (One of SceRazorLiveTraceMetricJobType)
Definition: razor_hud.h:115
int reserved
Reserved data.
Definition: razor_hud.h:52
SceRazorGpuLiveEntryJobFragmentValues3 fragment_values_type3
Values for a job of SCE_RAZOR_LIVE_TRACE_METRIC_JOB_TYPE_FRAGMENT3 type.
Definition: razor_hud.h:106
int reserved
Reserved data.
Definition: razor_hud.h:140
uint32_t gpu_activity_duration_time
Duration of GPU activity for the frame in microseconds.
Definition: razor_hud.h:139
SceRazorGpuLiveEntryHeader header
Distinguishing header for the entry.
Definition: razor_hud.h:135
uint32_t process_id
ID of the process which executed the job.
Definition: razor_hud.h:120
int sceRazorGpuLiveSetMetricsGroup(uint32_t metrics)
Sets a metrics group to use for gpu live debugging.
SceRazorGpuLiveEntryHeader header
Distinguishing header for the entry.
Definition: razor_hud.h:126
SceSize entry_count
Number of elements stored in the results buffer.
Definition: razor_hud.h:46
uint8_t vertex_job_paused
Flag indicating wether a vertex job had been paused or not.
Definition: razor_hud.h:130
SceRazorGpuLiveMetricsGroup
Enumeration for the gpu live metrics groups.
Definition: razor_hud.h:17
uint32_t frame_number
Number of the frame.
Definition: razor_hud.h:138
uint8_t partial_render
Flag indicating wether a partial render occurred or not.
Definition: razor_hud.h:129
int sceRazorGpuLiveSetBuffer(void *buffer, SceSize buf_size, SceRazorGpuLiveResultInfo *results)
Sets the buffer in which to store gpu live debugging results for the current frame.
uint64_t end_time
End time of the results collection in microseconds.
Definition: razor_hud.h:50
SceRazorGpuLiveEntryHeader header
Distinguishing header for the entry.
Definition: razor_hud.h:112
SceRazorGpuLiveEntryJobValues job_values
Reported values by the job.
Definition: razor_hud.h:119
uint32_t vdm_vertices_input_num
VDM input vertices number.
Definition: razor_hud.h:78
uint16_t entry_type
Entry type (One of SceRazorLiveTraceMetricEntryType)
Definition: razor_hud.h:58
@ SCE_RAZOR_LIVE_TRACE_METRIC_JOB_TYPE_FRAGMENT2
Definition: razor_hud.h:37
@ SCE_RAZOR_LIVE_TRACE_METRIC_JOB_TYPE_VERTEX1
Definition: razor_hud.h:34
@ SCE_RAZOR_LIVE_TRACE_METRIC_JOB_TYPE_FRAGMENT0
Definition: razor_hud.h:41
@ SCE_RAZOR_LIVE_TRACE_METRIC_JOB_TYPE_FIRMWARE
Definition: razor_hud.h:33
@ SCE_RAZOR_LIVE_TRACE_METRIC_JOB_TYPE_FRAGMENT1
Definition: razor_hud.h:35
@ SCE_RAZOR_LIVE_TRACE_METRIC_JOB_TYPE_VERTEX2
Definition: razor_hud.h:36
@ SCE_RAZOR_LIVE_TRACE_METRIC_JOB_TYPE_VERTEX0
Definition: razor_hud.h:40
@ SCE_RAZOR_LIVE_TRACE_METRIC_JOB_TYPE_VERTEX3
Definition: razor_hud.h:38
@ SCE_RAZOR_LIVE_TRACE_METRIC_JOB_TYPE_FRAGMENT3
Definition: razor_hud.h:39
@ SCE_RAZOR_LIVE_TRACE_METRIC_ENTRY_TYPE_FRAME
Definition: razor_hud.h:28
@ SCE_RAZOR_LIVE_TRACE_METRIC_ENTRY_TYPE_PARAMETER_BUFFER
Definition: razor_hud.h:27
@ SCE_RAZOR_LIVE_TRACE_METRIC_ENTRY_TYPE_JOB
Definition: razor_hud.h:26
@ SCE_RAZOR_GPU_LIVE_METRICS_GROUP_OVERVIEW_1
Definition: razor_hud.h:19
@ SCE_RAZOR_GPU_LIVE_METRICS_GROUP_PBUFFER_USAGE
Definition: razor_hud.h:18
@ SCE_RAZOR_GPU_LIVE_METRICS_GROUP_OVERVIEW_2
Definition: razor_hud.h:20
@ SCE_RAZOR_GPU_LIVE_METRICS_GROUP_OVERVIEW_3
Definition: razor_hud.h:21
Definition: razor_hud.h:134
Definition: razor_hud.h:111
Definition: razor_hud.h:68
Definition: razor_hud.h:83
Definition: razor_hud.h:95
Definition: razor_hud.h:100
Definition: razor_hud.h:63
Definition: razor_hud.h:75
Definition: razor_hud.h:90
Definition: razor_hud.h:125
Definition: razor_hud.h:44
unsigned int SceSize
Definition: types.h:56