Manual:$wgUDPProfilerFormatString

From MediaWiki.org
Jump to: navigation, search

Other languages:
català • ‎Deutsch • ‎Ελληνικά • ‎English • ‎español • ‎suomi • ‎français • ‎italiano • ‎日本語 • ‎Bahasa Melayu • ‎Nederlands • ‎polski • ‎português • ‎português do Brasil • ‎中文
Profiling: $wgUDPProfilerFormatString
Format string for UDP profiler.
Introduced in version: 1.22.0
Deprecated in version: 1.25.0 (git #10f06831)
Removed in version: still in use
Allowed values: string
Default value: null (MW 1.25+)
"%s - %d %f %f %f %f %s\n" (MW 1.6–1.24)
Other settings: Alphabetical | By function

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]