Files
PS5_RetroArch/src/present_clock.h
T
MihawkandClaude Opus 5.5 28b0f8aa6d The release is v0.5.0-alpha.5, the first on RADV
- tools/build-title.sh links ../PS5_Vulkan's RADV release archive by default;
  PS5_VULKAN_DRIVER=ps5vk still builds ps5vk, which v0.4.0-alpha.4 shipped. A
  RADV build stages no libvulkan.so.1: both drivers are linked into eboot.bin
  and nothing ever loaded that library (a title cannot load one).
- src/present_clock.h and src/radv_icd_ps5.c are clang-formatted, which the
  format gate asked for.
- docs/releases/v0.5.0-alpha.5.md: RADV, PPSSPP's MSAA, the shader cache, the
  title heap's arenas, what was tested on RADV and what only on ps5vk, and the
  known issues (Dolphin's first start of a game with an empty cache).
- README.md and docs/ACTIVE.md describe the title on RADV.

Build f96bdb0e; tools/verify.sh PASS (format unit build integration evidence):
74 Python tests, 52 captures replay.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-28 08:10:08 -04:00

30 lines
724 B
C

/*
* PS5 RetroArch - when the title last presented a frame, for the stall sampler.
*
* Copyright (C) 2026 Mihawk
* SPDX-License-Identifier: GPL-3.0-or-later
*
* With ps5vk these are the driver's own present clock (its ps5vk_debug.h);
* with RADV the title keeps it, around vkQueuePresentKHR (src/radv_icd_ps5.c).
*/
#ifndef PS5_RETROARCH_PRESENT_CLOCK_H
#define PS5_RETROARCH_PRESENT_CLOCK_H
#include <stdint.h>
#ifdef __cplusplus
extern "C"
{
#endif
/* The monotonic clock the times below are on, in nanoseconds. */
uint64_t ps5_present_clock_now_ns(void);
/* When the latest present returned; 0 before the first. */
uint64_t ps5_present_clock_last_ns(void);
#ifdef __cplusplus
}
#endif
#endif