
This is the Title of the Book, eMatter Edition
Copyright © 2007 O’Reilly & Associates, Inc. All rights reserved.
468
|
Chapter 8: Diagnostics
CountPerTimeInterval32/CountPerTimeInterval64
Calculates the number of items waiting within a queue to a resource over the
time elapsed. These counters give the delta of the queue length for the last two
sample intervals divided by the interval duration.
ElapsedTime
Calculates the difference in time between when this counter recorded the start of
an event and the current time, measured in seconds.
NumberOfItems32/NumberOfItems64
These counters return their value in decimal format. The NumberOfItems64
counter can hold larger values than NumberOfItems32. This counter does not need
to be passed to the static Calculate method of the CounterSample class; there are
no values that must be calculated. Instead, use the
RawValue property of the
PerformanceCounter object (i.e., in this recipe, the appCounter.RawValue property
would be used).
NumberOfItemsHEX32/NumberOfItemsHEX64
These counters return their value in hexadecimal format. The NumberOfItemsHEX64
counter can hold larger values than NumberOfItemsHEX32. This counter does not
need to be passed to the static
Calculate method of the CounterSample class;
there are no values that must be calculated. Instead, use the
RawValue property of
the
PerformanceCounter object (i.e., in this recipe, the appCounter.RawValue prop-
erty ...