Programming Interface Information:
This information is NOT intended to be used as Programming Interfaces of z/VM. |
CCFBK
Control Block Contents
CCFBK DSECT
Cross Reference (Contains links to field and bit definitions)
CCFBK Prolog
NAME : HCPCCFBK DESCRIPTION: CPU-Measurement Counter Facility Counters DSECT : CCFBK FUNCTION : Mapping of the CPU-Measurement Facility Counters for all supported Counter First Version Number (CFVN) and Counter Second Version Number (CSVN) combinations. LOCATED BY : PLSCCFBK CREATED BY : HCPMPS (when a PLSBK is allocated) DELETED BY : HCPMPS (when a PLSBK is released) REFERENCES : none SERIALIZED : Processor Local - updates are only made on the CPU whose PLSBK points to this instance of the CCFBK. Monitor Command Lock (MND_CMD_LOCK) - the collection task is serialized by this lock to prevent a race between two tasks collecting counters in the CCFBK on each CPU. RELOCATION CONSIDERATIONS : None COMPATIBILITY AND MIGRATION CONCERNS : The format of this control block is defined in "The Set-Program-Parameter and CPU-Measurement Facilities" book and should not be modified. If new CFVN/CSVN combinations are created, new mappings will need to be added to support them.
CCFBK Control Block Content
CCFBK DSECT
Hex Dec Type/Val Lng Label (dup) Comments ---- ---- --------- ---- -------------- -------- 0000 0 Structure CCFBK CPU-Measurement Counter Facility Counters 0000 0 Signed 4 CCFCTLCD Count of times a Measurement Alert external interruption reported Lost Counter Data 0004 4 Signed 4 CCFCPUSP CPU Speed (CPU cycles/microsec) 0008 8 Bitstring 2 CCFCMFAC Mask of CPU-Measurement Facility counters that were activated when this CPU last enabled or disabled collection of these counters (See QCIAC in HCPQCIBK COPY for definition of bits) 000A 10 Signed 2 * Reserved for future IBM use 000C 12 Signed 2 CCFCFVN Counter First Version Number 000E 14 Signed 2 CCFCSVN Counter Second Version Number 0010 16 Signed 8 CCFTOD TOD clock value when counters were harvested 0018 24 Dbl-Word 8 CCFDATA (176) Data is size of largest CFVN/CSVN format 000000B3 CCFSIZE (*-CCFBK+7)/8 size in double words 00000598 CCFBSIZE CCFSIZE*8 size in bytes 000000B0 CCFDATADWS CCF12SIZE data length is length of longest format 0018 24 Dbl-Word 8 CCF11 (0) CFVN=1 -- CSVN=1 0018 24 Dbl-Word 8 CCF11BAS (32) Basic counter data 0118 280 Dbl-Word 8 CCF11PRB (32) Problem-state counter data 0218 536 Dbl-Word 8 CCF11CRY (64) Crypto-activity counter data 0418 1048 Dbl-Word 8 CCF11EXT (32) Extended counter data 000000A0 CCF11SIZE (*-CCF11+7)/8 size in double words 00000500 CCF11BSIZE CCF11SIZE*8 size in bytes 0018 24 Dbl-Word 8 CCF12 (0) CFVN=1 -- CSVN=2 0018 24 Dbl-Word 8 CCF12BAS (32) Basic counter data 0118 280 Dbl-Word 8 CCF12PRB (32) Problem-state counter data 0218 536 Dbl-Word 8 CCF12CRY (64) Crypto-activity counter data 0418 1048 Dbl-Word 8 CCF12EXT (48) Extended counter data 000000B0 CCF12SIZE (*-CCF12+7)/8 size in double words 00000580 CCF12BSIZE CCF12SIZE*8 size in bytes
CCFBK Storage Layout
*** CCFBK - CPU-Measurement Counter Facility Counters * * +---------------------------+---------------------------+ * 0 | CCFCTLCD | CCFCPUSP | * +-------------+-------------+-------------+-------------+ * 8 | CCFCMFAC |/////////////| CCFCFVN | CCFCSVN | * +-------------+-------------+-------------+-------------+ * 10 | CCFTOD | * +-------------------------------------------------------+ * 18 | | * = CCFDATA = * | | * +-------------------------------------------------------+ * 598 * *** CCFBK - CPU-Measurement Counter Facility Counters *** Overlay for CCFDATA in CCFBK * * +-------------------------------------------------------+ * 18 | | * = CCF11BAS = * | | * +-------------------------------------------------------+ * 118 | | * = CCF11PRB = * | | * +-------------------------------------------------------+ * 218 | | * = CCF11CRY = * | | * +-------------------------------------------------------+ * 418 | | * = CCF11EXT = * | | * +-------------------------------------------------------+ * 518 * *** Overlay for CCFDATA in CCFBK *** Overlay for CCFDATA in CCFBK * * +-------------------------------------------------------+ * 18 | | * = CCF12BAS = * | | * +-------------------------------------------------------+ * 118 | | * = CCF12PRB = * | | * +-------------------------------------------------------+ * 218 | | * = CCF12CRY = * | | * +-------------------------------------------------------+ * 418 | | * = CCF12EXT = * | | * +-------------------------------------------------------+ * 598 * *** Overlay for CCFDATA in CCFBK
CCFBK Cross Reference
Symbol Dspl Value -------------- ---- ----- CCFBSIZE 0018 00000598 CCFCFVN 000C CCFCMFAC 0008 CCFCPUSP 0004 CCFCSVN 000E CCFCTLCD 0000 CCFDATA 0018 CCFDATADWS 0018 000000B0 CCFSIZE 0018 000000B3 CCFTOD 0010 CCF11 0018 CCF11BAS 0018 CCF11BSIZE 0418 00000500 CCF11CRY 0218 CCF11EXT 0418 CCF11PRB 0118 CCF11SIZE 0418 000000A0 CCF12 0018 CCF12BAS 0018 CCF12BSIZE 0418 00000580 CCF12CRY 0218 CCF12EXT 0418 CCF12PRB 0118 CCF12SIZE 0418 000000B0
Copyright IBM Corporation, 1990, 2011