From b816c2bb48bdf7de42c95edceb339cc445a1a6ca Mon Sep 17 00:00:00 2001 From: Mihawk <163614687+mihawk-99@users.noreply.github.com> Date: Wed, 30 Sep 2026 02:01:45 -0400 Subject: [PATCH] Platform probe: "topology" runs the SDK's CPU topology test The title's thread layout for RPCS3 was chosen from it. --- src/main.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index ba8446d..e4574e3 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -138,7 +138,9 @@ void start_log_flusher() * as the server sees it when statfs() cannot) and * "threads" (the * stacks the main thread, a thread created with no attributes and one asking - * for 2 MiB run on). Every line goes to the trace as it is measured. */ + * for 2 MiB run on) and "topology" (the round trip of a cache line between + * every pair of the title's CPUs, which shows their cores and clusters). Every + * line goes to the trace as it is measured. */ static void probe_line(void *, const char *line) { ps5::debug::mark(line); @@ -185,6 +187,8 @@ static bool run_platform_probe() } if (std::strstr(words, "threads")) failures += ps5_platform_probe_threads(probe_line, nullptr); + if (std::strstr(words, "topology")) + failures += ps5_platform_probe_topology(probe_line, nullptr); ps5::debug::mark_value("platform probe: failures", failures); std::fflush(stderr); return true;