Manual:$wgUDPProfilerFormatString

From MediaWiki.org
Jump to navigation Jump to search

Other languages:
English • ‎español • ‎magyar • ‎polski • ‎Ελληνικά • ‎中文 • ‎日本語
Profiling: $wgUDPProfilerFormatString
Format string for UDP profiler.
Introduced in version:1.22.0
Deprecated in version:1.25.0 (git #10f06831)
Removed in version:1.27.0 (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[edit]

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[edit]