Jump to content

Manual:$wgUDPProfilerFormatString

From mediawiki.org
Profiling: $wgUDPProfilerFormatString
Format string for UDP profiler.
Introduced in version:1.22.0 (Gerrit change 87030; git #2bad0b96)
Deprecated in version:1.25.0 (Gerrit change 177277; git #10f06831)
Removed in version:1.27.0 (Gerrit change 257404; git #487265cd)
Allowed values:(string)
Default value:null (MW 1.25+)
"%s - %d %f %f %f %f %s\n" (MW 1.6–1.24)

Details

Format string for the UDP profiler. The UDP profiler invokes sprintf() with (profile id, count, cpu, cpu_sq, real, real_sq, entry name, memory) as arguments. You can use sprintf's argument numbering/swapping capability to repeat, re-order or omit fields.

In MediaWiki 1.25 and later, set $wgProfiler ['udpformat'] instead.

See also