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
|
||||
|
||||
(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.
|
||||
|
||||
|
|
|
|||
|
|
@ -150,9 +150,8 @@ var sampleConfig = `
|
|||
`
|
||||
|
||||
type Win_PerfCounters struct {
|
||||
PrintValid bool
|
||||
//deprecated: determined dynamically
|
||||
PreVistaSupport bool
|
||||
PrintValid bool `toml:"PrintValid"`
|
||||
PreVistaSupport bool `toml:"PreVistaSupport" deprecated:"1.7.0;determined dynamically"`
|
||||
UsePerfCounterTime bool
|
||||
Object []perfobject
|
||||
CountersRefreshInterval config.Duration
|
||||
|
|
|
|||
Loading…
Reference in New Issue