KCML_PerfMetric_Flush
Purpose
Flush the current value of a performance metric.
Definition
DEFSUB 'KCML_PerfMetric_Flush(nMetric) AS Bool
Parameters
| nMetric | Performance metric |
Return
Returns TRUE if nMetric is one of the above and that metric was enabled.
Description
Reports the current value of this process's performance metric to the message queue. Only applicable to process-wide metrics such as _KCML_PERFMETRIC_KCML_CPU_USAGE, _KCML_PERFMETRIC_KCML_MEM_USED, _KCML_PERFMETRIC_KCML_SQL_TOTAL, _KCML_PERFMETRIC_KCML_DECLARE_TOTAL, _KCML_PERFMETRIC_KCML_TOTAL_IO, _KCML_PERFMETRIC_KCML_MEM_SYM & _KCML_PERFMETRIC_KCML_ENV_TOTAL.
See also
Internal KCML Functions, Internally defined structures and Internally defined enumerations and constants.