|
KallistiOS git master
Independent SDK for the Sega Dreamcast
|
Rendering stats and metrics for profiling More...
Data Structures | |
| struct | pvr_stats_t |
| PVR statistics structure. More... | |
Functions | |
| int | pvr_get_vbl_count (void) |
| Retrieve the current VBlank count. | |
| int | pvr_get_stats (pvr_stats_t *stat) |
| Get the current statistics from the PVR. | |
Rendering stats and metrics for profiling
| int pvr_get_stats | ( | pvr_stats_t * | stat | ) |
Get the current statistics from the PVR.
This function fills in the pvr_stats_t structure passed in with the current statistics of the system.
| stat | The statistics structure to fill in. Must not be NULL |
| 0 | On success |
| -1 | If the PVR is not initialized |
| int pvr_get_vbl_count | ( | void | ) |
Retrieve the current VBlank count.
This function retrieves the number of VBlank interrupts that have occurred since the PVR was initialized.