手册:$wgUDPProfilerFormatString
Appearance
此功能已在版本1.27.0从MediaWiki核心代码中移除。
请参见$wgProfiler以获取使用此功能的替代方式。 |
| 性能分析: $wgUDPProfilerFormatString | |
|---|---|
| Format string for UDP profiler. |
|
| 引进版本: | 1.22.0 (Gerrit change 87030; git #2bad0b96) |
| 弃用版本: | 1.25.0 (Gerrit change 177277; git #10f06831) |
| 移除版本: | 1.27.0 (Gerrit change 257404; git #487265cd) |
| 允许的值: | (string) |
| 默认值: | 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']。