IOPERFORMANCEX Monitor Input/Output of data/index caching and count low-level file reads and writes (Extended version). Short Name IOPERFORMANCEX() Type Low-level function Declaration LONG IOPERFORMANCEX(pVOID bufptr) Description IOPERFORMANCEX() is the extended version of IOPERFORMANCE(). In addition to the eight (8) values reported in IOPERFORMANCE(), IOPERFORMANCEX() reports the following eleven (11) additional values: IOPERFORMANCE() Values:
IOPERFORMANCEX() Values:
The communication statistics ignore the traffic for the logon/logoff operations. In order to ensure proper statistics on multiple-processor hardware, add the following to the c-tree Server configuration file: COMPATIBILITY MULTI_PROCESSOR IOPERFORMANCEX() accepts an array of LONGs in which to place the performance data. ctIXPLMT is the size of the array for IOPERFORMANCEX(). ctIOPLMT is the array size for the non-extended version, IOPERFORMANCE(). This array dimension size should be used when working with this function in case the array is increased with a future release. Return IOPERFORMANCEX() always returns a 0 (zero) value indicating NO_ERROR. See “c-tree Plus Error Codes” in the c-tree Plus Programmer’s Reference Guide for a complete listing of valid c-tree Plus error values. Example ULONG iopx[ctIXPLMT];
printf("\n# check points = %ld time in seconds = %ld\n",
iopx[NbrCheckPoints], iopx[SystemTimeValue]); See also IOPERFORMANCE() |
|||||||||||||||||||||||||||||||||||||||||