/*static char *SCCSID = "@(#)pvwkdata.c 6.4 92/03/11";*/
/*      SCCSID = "@(#)pvwkdata.c        6.4 92/03/11"        */

/*
 *      Perfview Kernel Entity Data Block Structures
 *
 *      This is an OS/2 2.x specific file
 *
 *      IBM/Microsoft Confidential
 *
 *      Copyright (c) IBM Corporation 1987, 1989
 *      Copyright (c) Microsoft Corporation 1987, 1989
 *
 *      All Rights Reserved
 *
 *      NOTE:   This file does not generate code or data; it simply
 *              declares data structures.  It is converted to
 *              pvwkdata.h during the build process by running it
 *              through the 'C' compiler preprocessor.  Then it is
 *              run through h2inc.exe to generate pvwkdata.inc.  The
 *              purpose of this procedure is to produce a 'C' and a
 *              MASM header file from the kernel entity defintions in
 *              pvwkdef.h.  Pvwkdef.h is also used by pvwktext.h.
 *
 * 10/16/91 Steve Best b728714  take out WSQ QUE
 * 10/29/91 Steve Best b729110  take out VDM
 * 03/10/92 Steve Best b734380  take out prc sem
 * 08/25/92 Carlos Romero 51579 Add QCT counter type
 */

#ifdef PERFVIEW

/* Initialize Counter Types */
#define qctType QCT                    //51579
#define ctType CNT
#define tmType TIMR
#define qlType QLEN
#define ssType SUMSQ

/* Define entity structure field */

#define PvwKDef(ctrtype,enttype,entname)  ctrtype##Type enttype##_##ctrtype##entname;


#define CPU
struct pvdb_cpu_s {
        pvdbh_t cpu_hdr;
#include <pvwkdef.h>
};
typedef struct pvdb_cpu_s pvdb_cpu_t;
#undef CPU


#define MEM
struct pvdb_mem_s {
        pvdbh_t mem_hdr;
#include <pvwkdef.h>
};
typedef struct pvdb_mem_s pvdb_mem_t;
#undef MEM


#define FBC
struct pvdb_fbc_s {
        pvdbh_t fbc_hdr;
#include <pvwkdef.h>
};
typedef struct pvdb_fbc_s pvdb_fbc_t;
#undef FBC


#define FIL
struct pvdb_fil_s {
        pvdbh_t fil_hdr;
#include <pvwkdef.h>
};
typedef struct pvdb_fil_s pvdb_fil_t;
#undef FIL


//b734380#define PRC
//b734380struct pvdb_prc_s {
//b734380        pvdbh_t prc_hdr;
//b734380#include <pvwkdef.h>
//b734380};
//b734380typedef struct pvdb_prc_s pvdb_prc_t;
//b734380#undef PRC


#define THD
struct pvdb_thd_s {
        pvdbh_t thd_hdr;
#include <pvwkdef.h>
};
typedef struct pvdb_thd_s pvdb_thd_t;
#undef THD


//#define WSQ                                                          //b728714
//struct pvdb_wsq_s {                                                  //b728714
//        pvdbh_t wsq_hdr;                                             //b728714
//#include <pvwkdef.h>                                                 //b728714
//};                                                                   //b728714
//typedef struct pvdb_wsq_s pvdb_wsq_t;                                //b728714
//#undef WSQ                                                           //b728714


//b734380#define SEM
//b734380struct pvdb_sem_s {
//b734380        pvdbh_t sem_hdr;
//b734380#include <pvwkdef.h>
//b734380};
//b734380typedef struct pvdb_sem_s pvdb_sem_t;
//b734380#undef SEM


//#define QUE                                                          //b728714
//struct pvdb_que_s {                                                  //b728714
//        pvdbh_t que_hdr;                                             //b728714
//#include <pvwkdef.h>                                                 //b728714
//};                                                                   //b728714
//typedef struct pvdb_que_s pvdb_que_t;                                //b728714
//#undef QUE                                                           //b728714


//#define VDM                                                          //b729110
//struct pvdb_vdm_s {                                                  //b729110
//        pvdbh_t vdm_hdr;                                             //b729110
//#include <pvwkdef.h>                                                 //b729110
//};                                                                   //b729110
//typedef struct pvdb_vdm_s pvdb_vdm_t;                                //b729110
//#undef VDM                                                           //b729110


#define SPR
struct pvdb_spr_s {
        pvdbh_t spr_hdr;
#include <pvwkdef.h>
};
typedef struct pvdb_spr_s pvdb_spr_t;
#undef SPR


#define CAL
struct pvdb_cal_s {
        pvdbh_t cal_hdr;
#include <pvwkdef.h>
};
typedef struct pvdb_cal_s pvdb_cal_t;
#undef CAL

#endif /* PERFVIEW */

