You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// read executes a query and returns those values in an event.
174
174
func (r*Reader) read() ([]mb.Event, error) {
175
-
// if len(r.applicationPools) == 0 {
176
-
// r.executed = true
177
-
// return nil, nil
178
-
// }
175
+
iflen(r.applicationPools) ==0 {
176
+
r.executed=true
177
+
returnnil, nil
178
+
}
179
179
180
180
// Some counters, such as rate counters, require two counter values in order to compute a displayable value. In this case we must call PdhCollectQueryData twice before calling PdhGetFormattedCounterValue.
181
181
// For more information, see Collecting Performance Data (https://docs.microsoft.com/en-us/windows/desktop/PerfCtrs/collecting-performance-data).
0 commit comments