Manual:$wgUDPProfilerFormatString/zh

From Linux Web Expert

Revision as of 04:56, 6 December 2023 by imported>FuzzyBot (Updating to match new version of source page)
(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)

详情

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.

在MediaWiki 1.25 及之后的版本,请设置$wgProfiler ['udpformat']

参见