We currently report wall-clock time from MediaWiki from WikimediaEvents (src) from $_SERVER[REQUEST_TIME_FLOAT] to the start of post-send. We report this for page edits and for page views.
I propose to also add a cpu seconds metric for page edits, page views, and ResourceLoader responses.
We do have some limited experience with measuring cpu seconds in MediaWiki (codeseach results):