The jump window functions convert snapshot statistics into statistics that cover some interval of time. Monitoring programs can call these functions in STATS.LIB to produce folder statistics based on several sets of folder measurements taken over an interval of time.
The interval of time is called a jump window. It is a fixed-size window of time that keeps up with the current clock time by making small, equal-sized forward jumps. The width of the jump window is its duration; the time interval between jumps is its resolution.
Each jump window can produce one of the following statistics for the data it has collected:
The jump window functions are listed in the following table.
Function | Action | When called |
---|---|---|
HrJSOpen | Defines a jump window’s calculations and dimensions. | For each period statistic to calculate. |
HrJSCollectDataPoint | Adds a new data point to the window. | When snapshot data is available. |
HrJSGetValue | Calculates the jump window’s current value. | For each jump window calculation. |
JSClose | Closes and destroys the jump window. | For each jump window. |
HrFileTimeToSeconds | Converts time durations from FILETIME type to seconds. | When a time duration must be displayed to the owner. |