style: Add deprecated warning and version to win_perf_counters option (#10579)
This commit is contained in:
parent
48682ff5f9
commit
bd5c859fd7
|
|
@ -87,7 +87,7 @@ Example:
|
||||||
|
|
||||||
#### PreVistaSupport
|
#### PreVistaSupport
|
||||||
|
|
||||||
(Deprecated. Necessary features on Windows Vista and newer are checked dynamically)
|
(Deprecated in 1.7; Necessary features on Windows Vista and newer are checked dynamically)
|
||||||
|
|
||||||
Bool, if set to `true`, the plugin will use the localized PerfCounter interface that has been present since before Vista for backwards compatibility.
|
Bool, if set to `true`, the plugin will use the localized PerfCounter interface that has been present since before Vista for backwards compatibility.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -150,9 +150,8 @@ var sampleConfig = `
|
||||||
`
|
`
|
||||||
|
|
||||||
type Win_PerfCounters struct {
|
type Win_PerfCounters struct {
|
||||||
PrintValid bool
|
PrintValid bool `toml:"PrintValid"`
|
||||||
//deprecated: determined dynamically
|
PreVistaSupport bool `toml:"PreVistaSupport" deprecated:"1.7.0;determined dynamically"`
|
||||||
PreVistaSupport bool
|
|
||||||
UsePerfCounterTime bool
|
UsePerfCounterTime bool
|
||||||
Object []perfobject
|
Object []perfobject
|
||||||
CountersRefreshInterval config.Duration
|
CountersRefreshInterval config.Duration
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue