KOS Foundation
| KOS API | What it does | Gap |
|---|---|---|
perf_cntr_start/stop/count() |
Raw SH4 performance counter (48-bit, 5ns tick) | Need game-level zones |
perf_cntr_timer_ns() |
Nanosecond CPU timer | Good. Use for zone timing. |
perf_monitor() macro |
Auto-instrumented probe points | Good for function-level. |
perf_monitor_print() |
Dump all probe stats to FILE* | Good for dcload output. |