Jump to content

Podręcznik:$wgUDPProfilerFormatString

From mediawiki.org
This page is a translated version of the page Manual:$wgUDPProfilerFormatString and the translation is 33% complete.
Profiling: $wgUDPProfilerFormatString
Format string for UDP profiler.
Wprowadzono w wersji:1.22.0 (Gerrit change 87030; git #2bad0b96)
Przestarzałe w wersji:1.25.0 (Gerrit change 177277; git #10f06831)
Usunięto w wersji:1.27.0 (Gerrit change 257404; git #487265cd)
Dozwolone wartości:(string)
Domyślna wartość:null (MW 1.25+)
"%s - %d %f %f %f %f %s\n" (MW 1.6–1.24)

Szczegóły

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.

Zobacz też