@@ -47,7 +47,7 @@ void printQJST(qjst *p)
4747 ADDS32 ("Log_Write_Threshold" ,p -> qjstthrw );
4848 ADDS32 ("Log_Write_Buffer_Paged" ,p -> qjstbpag );
4949
50- if (conv16 (p -> qjstll )>= offsetof(qjst ,qjstio ))
50+ if (conv16 (p -> qjstll )> offsetof(qjst ,qjstio ))
5151 {
5252 /* Array of 1 entry! Reserved space follows for 2 more, but they */
5353 /* are not currently used. If the others are ever used, change the */
@@ -68,7 +68,7 @@ void printQJST(qjst *p)
6868 }
6969 }
7070
71- if (conv16 (p -> qjstll )>= offsetof(qjst ,qjstio [0 ]))
71+ if (conv16 (p -> qjstll )> offsetof(qjst ,qjstio [0 ]))
7272 {
7373 for (i = 0 ;i < 2 ;i ++ )
7474 {
@@ -92,13 +92,13 @@ void printQJST(qjst *p)
9292 }
9393 }
9494
95- ADDTIME ("Writer_Idle_Time" , p -> qjstslptu );
96- ADDU64 ("IO_Time_Sum_Squares_1" , p -> qjstiosqu [0 ]);
97- ADDU64 ("IO_Time_Sum_Squares_2" , p -> qjstiosqu [1 ]);
95+ ADDU64 ("Writer_Idle_Time" , p -> qjstslptu );
96+ ADDU64 ("IO_Time_Sum_Squares_1" , p -> qjstiosqu [0 ]);
97+ ADDU64 ("IO_Time_Sum_Squares_2" , p -> qjstiosqu [1 ]);
9898 }
9999
100100 /* MQ 9.1.2 added support for zHyperwrite logging */
101- if (conv16 (p -> qjstll )>= offsetof(qjst ,qjstcp1n ))
101+ if (conv16 (p -> qjstll )> offsetof(qjst ,qjstcp1n ))
102102 {
103103 ADDS32 ("Copy1_New_Logs" , p -> qjstcp1n );
104104 ADDS32 ("Copy2_New_Logs" , p -> qjstcp2n );
@@ -110,3 +110,8 @@ void printQJST(qjst *p)
110110
111111 return ;
112112}
113+
114+
115+ /*
116+ double loggerTaskPercentBusy = 100.0 * (1 - (double)pQJST->qjstslptu /(double)(statsDuration * 1000000 ));
117+ */
0 commit comments