The GetMetricData() function returns real time performance data and statistics for use within your code. GetMetricData() requires that a mode be passed to it specifying the data to be returned. PERF_MONITOR returns a structure containing the information available in Windows Performance Monitor, SIMPLE_LOAD returns a number indicating overall load, PREV_REQ_TIME returns the processing time of the previous request, and AVG_REQ_TIME returns the average processing time of all requests since ColdFusion was started. (Applies to: ColdFusion 4.5 or later)
Leave a Reply