Manual:$wgUDPProfilerFormatString/zh
From Linux Web Expert
File:OOjs UI icon alert-destructive.svg | <translate> This feature was removed from MediaWiki core in version <tvar name=ver>1.27.0</tvar>.</translate> <translate> Please see <tvar name=page>$wgProfiler</tvar> for an alternative way to use this feature.</translate> |
<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) |
<translate> Other settings:</translate> <translate> Alphabetical</translate> | <translate> By function</translate> |
详情
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']
。
参见
Categories:
- MediaWiki configuration settings/zh
- MediaWiki configuration settings introduced in version 1.22.0/zh
- MediaWiki configuration settings deprecated in version 1.25.0/zh
- MediaWiki configuration settings removed in version 1.27.0/zh
- Pages with broken file links
- MediaWiki deprecated or obsolete features/zh
- Debug variables/zh