![]() |
vitasdk
Documentation of the vitasdk
|
Exports for User. More...
Data Structures | |
| struct | SceRazorGpuLiveResultInfo |
| struct | SceRazorGpuLiveEntryHeader |
| struct | SceRazorGpuLiveEntryJobVertexValues1 |
| struct | SceRazorGpuLiveEntryJobFragmentValues1 |
| struct | SceRazorGpuLiveEntryJobVertexValues2 |
| struct | SceRazorGpuLiveEntryJobFragmentValues2 |
| struct | SceRazorGpuLiveEntryJobVertexValues3 |
| struct | SceRazorGpuLiveEntryJobFragmentValues3 |
| struct | SceRazorGpuLiveEntryJobValues |
| struct | SceRazorGpuLiveEntryJob |
| struct | SceRazorGpuLiveEntryParameterBuffer |
| struct | SceRazorGpuLiveEntryFrame |
Exports for User.
Include the header file in your project:
Link the library to the executable:
Load the required module:
| struct SceRazorGpuLiveResultInfo |
| Data Fields | ||
|---|---|---|
| void * | result_data | Pointer to the raw data results entries. |
| SceSize | entry_count | Number of elements stored in the results buffer. |
| SceSize | overflow_count | |
| SceSize | buffer_size | Size of the results buffer in bytes. |
| uint64_t | start_time | Start time of the results collection in microseconds. |
| uint64_t | end_time | End time of the results collection in microseconds. |
| uint32_t | metric_group | Metrics group used for the results. |
| int | reserved | Reserved data. |
| struct SceRazorGpuLiveEntryHeader |
| Data Fields | ||
|---|---|---|
| uint16_t | entry_size | Entry size in bytes. |
| uint16_t | entry_type | Entry type (One of SceRazorLiveTraceMetricEntryType) |
| int | reserved | Reserved data. |
| struct SceRazorGpuLiveEntryJobVertexValues1 |
| struct SceRazorGpuLiveEntryJobFragmentValues1 |
| struct SceRazorGpuLiveEntryJobVertexValues2 |
| struct SceRazorGpuLiveEntryJobFragmentValues2 |
| struct SceRazorGpuLiveEntryJobVertexValues3 |
| struct SceRazorGpuLiveEntryJobFragmentValues3 |
| struct SceRazorGpuLiveEntryJobValues |
| Data Fields | ||
|---|---|---|
| SceRazorGpuLiveEntryJobVertexValues1 | vertex_values_type1 | Values for a job of SCE_RAZOR_LIVE_TRACE_METRIC_JOB_TYPE_VERTEX1 type. |
| SceRazorGpuLiveEntryJobFragmentValues1 | fragment_values_type1 | Values for a job of SCE_RAZOR_LIVE_TRACE_METRIC_JOB_TYPE_FRAGMENT1 type. |
| SceRazorGpuLiveEntryJobVertexValues2 | vertex_values_type2 | Values for a job of SCE_RAZOR_LIVE_TRACE_METRIC_JOB_TYPE_VERTEX2 type. |
| SceRazorGpuLiveEntryJobFragmentValues2 | fragment_values_type2 | Values for a job of SCE_RAZOR_LIVE_TRACE_METRIC_JOB_TYPE_FRAGMENT2 type. |
| SceRazorGpuLiveEntryJobVertexValues3 | vertex_values_type3 | Values for a job of SCE_RAZOR_LIVE_TRACE_METRIC_JOB_TYPE_VERTEX3 type. |
| SceRazorGpuLiveEntryJobFragmentValues3 | fragment_values_type3 | Values for a job of SCE_RAZOR_LIVE_TRACE_METRIC_JOB_TYPE_FRAGMENT3 type. |
| int | reserved[8] | Reserved data. |
| struct SceRazorGpuLiveEntryJob |
| Data Fields | ||
|---|---|---|
| SceRazorGpuLiveEntryHeader | header | Distinguishing header for the entry. |
| uint64_t | start_time | Start time of the entry in microseconds. |
| uint64_t | end_time | End time of the entry in microseconds. |
| uint8_t | type | The type of the job (One of SceRazorLiveTraceMetricJobType) |
| int8_t | core | Core number on which the job got executed. |
| uint16_t | scene_index | Index of the scene in which the job got executed. |
| uint32_t | frame_number | Frame number in which the job got executed. |
| SceRazorGpuLiveEntryJobValues | job_values | Reported values by the job. |
| uint32_t | process_id | ID of the process which executed the job. |
| int | unk | Unknown data. |
| struct SceRazorGpuLiveEntryParameterBuffer |
| Data Fields | ||
|---|---|---|
| SceRazorGpuLiveEntryHeader | header | Distinguishing header for the entry. |
| uint64_t | peak_usage_timestamp | Time of param buffer peak usage in microseconds. |
| uint32_t | peak_usage_value | Memory peak usage of the param buffer in bytes. |
| uint8_t | partial_render | Flag indicating wether a partial render occurred or not. |
| uint8_t | vertex_job_paused | Flag indicating wether a vertex job had been paused or not. |
| struct SceRazorGpuLiveEntryFrame |
| Data Fields | ||
|---|---|---|
| SceRazorGpuLiveEntryHeader | header | Distinguishing header for the entry. |
| uint64_t | start_time | Start time of the entry in microseconds. |
| uint32_t | duration | Duration of the frame in microseconds. |
| uint32_t | frame_number | Number of the frame. |
| uint32_t | gpu_activity_duration_time | Duration of GPU activity for the frame in microseconds. |
| int | reserved | Reserved data. |
Enumeration for the gpu live results job types.
| VITASDK_BUILD_ASSERT_EQ | ( | 0x28 | , |
| SceRazorGpuLiveResultInfo | |||
| ) |
| VITASDK_BUILD_ASSERT_EQ | ( | 8 | , |
| SceRazorGpuLiveEntryHeader | |||
| ) |
| VITASDK_BUILD_ASSERT_EQ | ( | 4 | , |
| SceRazorGpuLiveEntryJobVertexValues1 | |||
| ) |
| VITASDK_BUILD_ASSERT_EQ | ( | 0xC | , |
| SceRazorGpuLiveEntryJobFragmentValues1 | |||
| ) |
| VITASDK_BUILD_ASSERT_EQ | ( | 0x10 | , |
| SceRazorGpuLiveEntryJobVertexValues2 | |||
| ) |
| VITASDK_BUILD_ASSERT_EQ | ( | 0xC | , |
| SceRazorGpuLiveEntryJobFragmentValues2 | |||
| ) |
| VITASDK_BUILD_ASSERT_EQ | ( | 4 | , |
| SceRazorGpuLiveEntryJobVertexValues3 | |||
| ) |
| VITASDK_BUILD_ASSERT_EQ | ( | 4 | , |
| SceRazorGpuLiveEntryJobFragmentValues3 | |||
| ) |
| VITASDK_BUILD_ASSERT_EQ | ( | 0x54 | , |
| SceRazorGpuLiveEntryJobValues | |||
| ) |
| VITASDK_BUILD_ASSERT_EQ | ( | 0x80 | , |
| SceRazorGpuLiveEntryJob | |||
| ) |
| VITASDK_BUILD_ASSERT_EQ | ( | 0x18 | , |
| SceRazorGpuLiveEntryParameterBuffer | |||
| ) |
| VITASDK_BUILD_ASSERT_EQ | ( | 0x20 | , |
| SceRazorGpuLiveEntryFrame | |||
| ) |
| int sceRazorGpuLiveSetMetricsGroup | ( | uint32_t | metrics | ) |
Sets a metrics group to use for gpu live debugging.
| [in] | metrics | - The metrics group to use (One of SceRazorGpuLiveMetricsGroup) |
| int sceRazorGpuLiveSetBuffer | ( | void * | buffer, |
| SceSize | buf_size, | ||
| SceRazorGpuLiveResultInfo * | results | ||
| ) |
Sets the buffer in which to store gpu live debugging results for the current frame.
| [in] | buffer | - The buffer to use |
| [in] | buf_size | - The buffer size in bytes |
| [out] | results | - The debugging results of the previous frame |
| int sceRazorGpuLiveStart | ( | ) |
Starts gpu live debugging.
| int sceRazorGpuLiveStop | ( | ) |
Stops gpu live debugging.
| void* SceRazorGpuLiveResultInfo::result_data |
Pointer to the raw data results entries.
| SceSize SceRazorGpuLiveResultInfo::entry_count |
Number of elements stored in the results buffer.
| SceSize SceRazorGpuLiveResultInfo::overflow_count |
| SceSize SceRazorGpuLiveResultInfo::buffer_size |
Size of the results buffer in bytes.
| uint64_t SceRazorGpuLiveResultInfo::start_time |
Start time of the results collection in microseconds.
| uint64_t SceRazorGpuLiveResultInfo::end_time |
End time of the results collection in microseconds.
| uint32_t SceRazorGpuLiveResultInfo::metric_group |
Metrics group used for the results.
| int SceRazorGpuLiveResultInfo::reserved |
Reserved data.
| uint16_t SceRazorGpuLiveEntryHeader::entry_size |
Entry size in bytes.
| uint16_t SceRazorGpuLiveEntryHeader::entry_type |
Entry type (One of SceRazorLiveTraceMetricEntryType)
| int SceRazorGpuLiveEntryHeader::reserved |
Reserved data.
| float SceRazorGpuLiveEntryJobVertexValues1::usse_vertex_processing_percent |
USSE vertex processing percentage.
| float SceRazorGpuLiveEntryJobFragmentValues1::usse_fragment_processing_percent |
USSE fragment processing percentage.
| float SceRazorGpuLiveEntryJobFragmentValues1::usse_dependent_texture_reads_percent |
USSE dependant texture reads requests percentage.
| float SceRazorGpuLiveEntryJobFragmentValues1::usse_non_dependent_texture_reads_percent |
USSE non-dependant texture reads requests percentage.
| uint32_t SceRazorGpuLiveEntryJobVertexValues2::vdm_primitives_input_num |
VDM input primitives number.
| uint32_t SceRazorGpuLiveEntryJobVertexValues2::mte_primitives_output_num |
MTE output primitives number.
| uint32_t SceRazorGpuLiveEntryJobVertexValues2::vdm_vertices_input_num |
VDM input vertices number.
| uint32_t SceRazorGpuLiveEntryJobVertexValues2::mte_vertices_output_num |
MTE output vertices number.
| uint32_t SceRazorGpuLiveEntryJobFragmentValues2::rasterized_pixels_before_hsr_num |
Number of rasterized pixels before Hidden Surface Removal.
| uint32_t SceRazorGpuLiveEntryJobFragmentValues2::rasterized_output_pixels_num |
Number of rasterized pixels.
| uint32_t SceRazorGpuLiveEntryJobFragmentValues2::rasterized_output_samples_num |
Number of rasterized samples.
| uint32_t SceRazorGpuLiveEntryJobVertexValues3::tiling_accelerated_mem_writes |
Amount of tiling accelerated memory writes in bytes.
| uint32_t SceRazorGpuLiveEntryJobFragmentValues3::isp_parameter_fetches_mem_reads |
Amount of ISP parameter fetches memory reads in bytes.
| SceRazorGpuLiveEntryJobVertexValues1 SceRazorGpuLiveEntryJobValues::vertex_values_type1 |
Values for a job of SCE_RAZOR_LIVE_TRACE_METRIC_JOB_TYPE_VERTEX1 type.
| SceRazorGpuLiveEntryJobFragmentValues1 SceRazorGpuLiveEntryJobValues::fragment_values_type1 |
Values for a job of SCE_RAZOR_LIVE_TRACE_METRIC_JOB_TYPE_FRAGMENT1 type.
| SceRazorGpuLiveEntryJobVertexValues2 SceRazorGpuLiveEntryJobValues::vertex_values_type2 |
Values for a job of SCE_RAZOR_LIVE_TRACE_METRIC_JOB_TYPE_VERTEX2 type.
| SceRazorGpuLiveEntryJobFragmentValues2 SceRazorGpuLiveEntryJobValues::fragment_values_type2 |
Values for a job of SCE_RAZOR_LIVE_TRACE_METRIC_JOB_TYPE_FRAGMENT2 type.
| SceRazorGpuLiveEntryJobVertexValues3 SceRazorGpuLiveEntryJobValues::vertex_values_type3 |
Values for a job of SCE_RAZOR_LIVE_TRACE_METRIC_JOB_TYPE_VERTEX3 type.
| SceRazorGpuLiveEntryJobFragmentValues3 SceRazorGpuLiveEntryJobValues::fragment_values_type3 |
Values for a job of SCE_RAZOR_LIVE_TRACE_METRIC_JOB_TYPE_FRAGMENT3 type.
| int SceRazorGpuLiveEntryJobValues::reserved[8] |
Reserved data.
| SceRazorGpuLiveEntryHeader SceRazorGpuLiveEntryJob::header |
Distinguishing header for the entry.
| uint64_t SceRazorGpuLiveEntryJob::start_time |
Start time of the entry in microseconds.
| uint64_t SceRazorGpuLiveEntryJob::end_time |
End time of the entry in microseconds.
| uint8_t SceRazorGpuLiveEntryJob::type |
The type of the job (One of SceRazorLiveTraceMetricJobType)
| int8_t SceRazorGpuLiveEntryJob::core |
Core number on which the job got executed.
| uint16_t SceRazorGpuLiveEntryJob::scene_index |
Index of the scene in which the job got executed.
| uint32_t SceRazorGpuLiveEntryJob::frame_number |
Frame number in which the job got executed.
| SceRazorGpuLiveEntryJobValues SceRazorGpuLiveEntryJob::job_values |
Reported values by the job.
| uint32_t SceRazorGpuLiveEntryJob::process_id |
ID of the process which executed the job.
| int SceRazorGpuLiveEntryJob::unk |
Unknown data.
| SceRazorGpuLiveEntryHeader SceRazorGpuLiveEntryParameterBuffer::header |
Distinguishing header for the entry.
| uint64_t SceRazorGpuLiveEntryParameterBuffer::peak_usage_timestamp |
Time of param buffer peak usage in microseconds.
| uint32_t SceRazorGpuLiveEntryParameterBuffer::peak_usage_value |
Memory peak usage of the param buffer in bytes.
| uint8_t SceRazorGpuLiveEntryParameterBuffer::partial_render |
Flag indicating wether a partial render occurred or not.
| uint8_t SceRazorGpuLiveEntryParameterBuffer::vertex_job_paused |
Flag indicating wether a vertex job had been paused or not.
| SceRazorGpuLiveEntryHeader SceRazorGpuLiveEntryFrame::header |
Distinguishing header for the entry.
| uint64_t SceRazorGpuLiveEntryFrame::start_time |
Start time of the entry in microseconds.
| uint32_t SceRazorGpuLiveEntryFrame::duration |
Duration of the frame in microseconds.
| uint32_t SceRazorGpuLiveEntryFrame::frame_number |
Number of the frame.
| uint32_t SceRazorGpuLiveEntryFrame::gpu_activity_duration_time |
Duration of GPU activity for the frame in microseconds.
| int SceRazorGpuLiveEntryFrame::reserved |
Reserved data.