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
// 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.
152
152
// For more information, see Collecting Performance Data (https://docs.microsoft.com/en-us/windows/desktop/PerfCtrs/collecting-performance-data).
153
-
ifval.Err!=nil&&!re.hasRun {
154
-
re.log.Debugw("Ignoring the first measurement because the data isn't ready",
// The counter has a negative value or the counter was successfully found, but the data returned is not valid.
160
+
// This error can occur if the counter value is less than the previous value. (Because counter values always increment, the counter value rolls over to zero when it reaches its maximum value.)
161
+
// This is not an error that stops the application from running successfully and a positive counter value should be retrieved in the later calls.
0 commit comments