CCFBK Back to Index page
 
Prolog 
Control Block Contents 
   CCFBK DSECT
Storage Layout 
Cross Reference (Contains links to field and bit definitions)
Programming Interface Information:
This information is NOT intended to be
used as Programming Interfaces of z/VM.


  CCFBK Prolog Top of page
 
 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 Top of page
 

 CCFBK DSECT Top of page
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 (256) Data is size of largest CFVN/CSVN format CCFDATADWS must be set to the maximum possible length of CCFDATA for the known combinations of CFVN/CSVN. To do this add the maximum number of counters for each counter set together in order (ie: BASIC+PROBLEM+CRYPTO+EXTENDED) 00000103 CCFSIZE (*-CCFBK+7)/8 size in double words 00000818 CCFBSIZE CCFSIZE*8 size in bytes 00000100 CCFDATADWS 32+32+64+128 data length is length of longest format
 
 
  CCFBK Storage Layout Top of page
 
          
*** CCFBK - CPU-Measurement Counter Facility Counters
*
*     +---------------------------+---------------------------+
*   0 |         CCFCTLCD          |         CCFCPUSP          |
*     +-------------+-------------+-------------+-------------+
*   8 |  CCFCMFAC   |/////////////|  CCFCFVN    |  CCFCSVN    |
*     +-------------+-------------+-------------+-------------+
*  10 |                        CCFTOD                         |
*     +-------------------------------------------------------+
*  18 |                                                       |
*     =                       CCFDATA                         =
*     |                                                       |
*     +-------------------------------------------------------+
* 818
*
*** CCFBK - CPU-Measurement Counter Facility Counters
 
 
  CCFBK Cross Reference Top of page
 
 
Symbol         Dspl Value
-------------- ---- -----
CCFBSIZE       0018 00000818
CCFCFVN        000C
CCFCMFAC       0008
CCFCPUSP       0004
CCFCSVN        000E
CCFCTLCD       0000
CCFDATA        0018
CCFDATADWS     0018 00000100
CCFSIZE        0018 00000103
CCFTOD         0010
 
This information is based on z/VM 6.3.0 Last updated on 22 May 2013 at 13:53:59 EDT.
Copyright IBM Corporation, 1990, 2013