Manual:$wgUDPProfilerFormatString

From Linux Web Expert

Revision as of 06:52, 3 February 2021 by imported>Shirayuki (update)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<translate> Profiling</translate>: $wgUDPProfilerFormatString
Format string for UDP profiler.
<translate> Introduced in version:</translate>1.22.0 (Gerrit change 87030; git #2bad0b96)
<translate> Deprecated in version:</translate>1.25.0 (Gerrit change 177277; git #10f06831)
<translate> Removed in version:</translate>1.27.0 (Gerrit change 257404; git #487265cd)
<translate> Allowed values:</translate>(string)
<translate> Default value:</translate>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