Files
AnyPS5/docs/dev/debt/libSceRazorCpu.md
T

2.7 KiB

libSceRazorCpu technical debt

Silent stubs

  • sceRazorCpuPushMarker (libSceRazorCpu) - signature (label, color, flags) from SharpProspero, the same as sceRazorCpuPushMarkerStatic's except that the label is copied; it does nothing without a capture and returns 0
  • sceRazorCpuSync (libSceRazorCpu) - the int(void) signature and its meaning, an unnamed frame-boundary event, come from SharpProspero. Without a capture there is no event to record, so it does nothing and returns 0, like the other sceRazorCpu* markers here and the shadPS4 stub. PRAGMATA (PPSA02530) continues on 0; the console's result with no capture attached is unverified

Unknown function info

  • sceRazorCpuFlushOccurred (libSceRazorCpu) - signature and return values (1 = flush since the last call, 0 = none) from SharpProspero; without a capture nothing is flushed, so it returns 0 and writes 0 cycles to the optional out pointer (whether the real library writes it when nothing was flushed is unknown)
  • sceRazorCpuPushMarkerStatic, sceRazorCpuPopMarker (libSceRazorCpu) - signatures from PPSA26344's calls; (name, color, flags) assumed for the push; both do nothing without a capture
  • sceRazorCpuPlotValue, sceRazorCpuWriteBookmark (libSceRazorCpu) - signatures (series, float value) and (label, optional description) from SharpProspero, matching PPSA06320's calls; both do nothing without a capture and return 0
  • sceRazorCpuNamedSync (libSceRazorCpu) - NID XCuZoBSVFG8 is named by shadPS4; the NID and a stub returning 0 come from there, but its stub declares no arguments; the const char* label parameter (NUL-terminated, up to 16384 bytes) comes from SharpProspero, which documents it as the frame-boundary label. Without a capture it does nothing and returns 0; the label is not read, and the capture behavior and the real return values are unverified