Commit 7d25d3a1 authored by Nils Goroll's avatar Nils Goroll

sync stats order in vsc_all.h and vsc2rst.c by vsc_types.h

parent 6e3d77ed
...@@ -28,21 +28,21 @@ ...@@ -28,21 +28,21 @@
*/ */
VSC_DO(MAIN, main, VSC_type_main)
#include "tbl/vsc_f_main.h"
VSC_DONE(MAIN, main, VSC_type_main)
VSC_DO(MGT, mgt, VSC_type_mgt) VSC_DO(MGT, mgt, VSC_type_mgt)
#define VSC_DO_MGT #define VSC_DO_MGT
#include "tbl/vsc_fields.h" #include "tbl/vsc_fields.h"
#undef VSC_DO_MGT #undef VSC_DO_MGT
VSC_DONE(MGT, mgt, VSC_type_mgt) VSC_DONE(MGT, mgt, VSC_type_mgt)
VSC_DO(LCK, lck, VSC_type_lck) VSC_DO(MEMPOOL, mempool, VSC_type_mempool)
#define VSC_DO_LCK #define VSC_DO_MEMPOOL
#include "tbl/vsc_fields.h" #include "tbl/vsc_fields.h"
#undef VSC_DO_LCK #undef VSC_DO_MEMPOOL
VSC_DONE(LCK, lck, VSC_type_lck) VSC_DONE(MEMPOOL, mempool, VSC_type_mempool)
VSC_DO(MAIN, main, VSC_type_main)
#include "tbl/vsc_f_main.h"
VSC_DONE(MAIN, main, VSC_type_main)
VSC_DO(SMA, sma, VSC_type_sma) VSC_DO(SMA, sma, VSC_type_sma)
#define VSC_DO_SMA #define VSC_DO_SMA
...@@ -62,8 +62,8 @@ VSC_DO(VBE, vbe, VSC_type_vbe) ...@@ -62,8 +62,8 @@ VSC_DO(VBE, vbe, VSC_type_vbe)
#undef VSC_DO_VBE #undef VSC_DO_VBE
VSC_DONE(VBE, vbe, VSC_type_vbe) VSC_DONE(VBE, vbe, VSC_type_vbe)
VSC_DO(MEMPOOL, mempool, VSC_type_mempool) VSC_DO(LCK, lck, VSC_type_lck)
#define VSC_DO_MEMPOOL #define VSC_DO_LCK
#include "tbl/vsc_fields.h" #include "tbl/vsc_fields.h"
#undef VSC_DO_MEMPOOL #undef VSC_DO_LCK
VSC_DONE(MEMPOOL, mempool, VSC_type_mempool) VSC_DONE(LCK, lck, VSC_type_lck)
...@@ -66,43 +66,57 @@ int main(int argc, char **argv) ...@@ -66,43 +66,57 @@ int main(int argc, char **argv)
#include "tbl/vsc_levels.h" #include "tbl/vsc_levels.h"
P(""); P("");
P("MAIN COUNTERS"); P("MAIN COUNTERS (MAIN.*)");
P("============="); P("======================");
P(""); P("");
#include "tbl/vsc_f_main.h" #include "tbl/vsc_f_main.h"
P("MANAGEMENT PROCESS COUNTERS (MGT.*)");
P("===================================");
P(""); P("");
P("LOCK COUNTERS"); #define VSC_DO_MGT
P("============="); #include "tbl/vsc_fields.h"
#undef VSC_DO_MGT
P(""); P("");
#define VSC_DO_LCK P("PER MEMORY POOL COUNTERS (MEMPOOL.*)");
P("====================================");
P("");
#define VSC_DO_MEMPOOL
#include "tbl/vsc_fields.h" #include "tbl/vsc_fields.h"
#undef VSC_DO_LCK #undef VSC_DO_MEMPOOL
P(""); P("");
P("PER MALLOC STORAGE COUNTERS"); P("PER MALLOC STORAGE COUNTERS (SMA.*)");
P("==========================="); P("===================================");
P(""); P("");
#define VSC_DO_SMA #define VSC_DO_SMA
#include "tbl/vsc_fields.h" #include "tbl/vsc_fields.h"
#undef VSC_DO_SMA #undef VSC_DO_SMA
P(""); P("");
P("PER FILE STORAGE COUNTERS"); P("PER FILE STORAGE COUNTERS (SMF.*)");
P("========================="); P("=================================");
P(""); P("");
#define VSC_DO_SMF #define VSC_DO_SMF
#include "tbl/vsc_fields.h" #include "tbl/vsc_fields.h"
#undef VSC_DO_SMF #undef VSC_DO_SMF
P(""); P("");
P("PER BACKEND COUNTERS"); P("PER BACKEND COUNTERS (VBE.*)");
P("===================="); P("============================");
P(""); P("");
#define VSC_DO_VBE #define VSC_DO_VBE
#include "tbl/vsc_fields.h" #include "tbl/vsc_fields.h"
#undef VSC_DO_VBE #undef VSC_DO_VBE
P("");
P("LOCK COUNTERS (LCK.*)");
P("=====================");
P("");
#define VSC_DO_LCK
#include "tbl/vsc_fields.h"
#undef VSC_DO_LCK
return (0); return (0);
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment