@@ -193,7 +193,8 @@ void TermPerfCountersWin32() {
193
193
194
194
195
195
void NODE_COUNT_HTTP_SERVER_REQUEST () {
196
- if (NodeCounterProvider != nullptr && perfctr_incrementULongValue != nullptr ) {
196
+ if (NodeCounterProvider != nullptr &&
197
+ perfctr_incrementULongValue != nullptr ) {
197
198
perfctr_incrementULongValue (NodeCounterProvider,
198
199
perfctr_instance,
199
200
NODE_COUNTER_HTTP_SERVER_REQUEST,
@@ -203,7 +204,8 @@ void NODE_COUNT_HTTP_SERVER_REQUEST() {
203
204
204
205
205
206
void NODE_COUNT_HTTP_SERVER_RESPONSE () {
206
- if (NodeCounterProvider != nullptr && perfctr_incrementULongValue != nullptr ) {
207
+ if (NodeCounterProvider != nullptr &&
208
+ perfctr_incrementULongValue != nullptr ) {
207
209
perfctr_incrementULongValue (NodeCounterProvider,
208
210
perfctr_instance,
209
211
NODE_COUNTER_HTTP_SERVER_RESPONSE,
@@ -213,7 +215,8 @@ void NODE_COUNT_HTTP_SERVER_RESPONSE() {
213
215
214
216
215
217
void NODE_COUNT_HTTP_CLIENT_REQUEST () {
216
- if (NodeCounterProvider != nullptr && perfctr_incrementULongValue != nullptr ) {
218
+ if (NodeCounterProvider != nullptr &&
219
+ perfctr_incrementULongValue != nullptr ) {
217
220
perfctr_incrementULongValue (NodeCounterProvider,
218
221
perfctr_instance,
219
222
NODE_COUNTER_HTTP_CLIENT_REQUEST,
@@ -223,7 +226,8 @@ void NODE_COUNT_HTTP_CLIENT_REQUEST() {
223
226
224
227
225
228
void NODE_COUNT_HTTP_CLIENT_RESPONSE () {
226
- if (NodeCounterProvider != nullptr && perfctr_incrementULongValue != nullptr ) {
229
+ if (NodeCounterProvider != nullptr &&
230
+ perfctr_incrementULongValue != nullptr ) {
227
231
perfctr_incrementULongValue (NodeCounterProvider,
228
232
perfctr_instance,
229
233
NODE_COUNTER_HTTP_CLIENT_RESPONSE,
@@ -233,7 +237,8 @@ void NODE_COUNT_HTTP_CLIENT_RESPONSE() {
233
237
234
238
235
239
void NODE_COUNT_SERVER_CONN_OPEN () {
236
- if (NodeCounterProvider != nullptr && perfctr_incrementULongValue != nullptr ) {
240
+ if (NodeCounterProvider != nullptr &&
241
+ perfctr_incrementULongValue != nullptr ) {
237
242
perfctr_incrementULongValue (NodeCounterProvider,
238
243
perfctr_instance,
239
244
NODE_COUNTER_SERVER_CONNS,
@@ -243,7 +248,8 @@ void NODE_COUNT_SERVER_CONN_OPEN() {
243
248
244
249
245
250
void NODE_COUNT_SERVER_CONN_CLOSE () {
246
- if (NodeCounterProvider != nullptr && perfctr_decrementULongValue != nullptr ) {
251
+ if (NodeCounterProvider != nullptr &&
252
+ perfctr_decrementULongValue != nullptr ) {
247
253
perfctr_decrementULongValue (NodeCounterProvider,
248
254
perfctr_instance,
249
255
NODE_COUNTER_SERVER_CONNS,
@@ -253,7 +259,8 @@ void NODE_COUNT_SERVER_CONN_CLOSE() {
253
259
254
260
255
261
void NODE_COUNT_NET_BYTES_SENT (int bytes) {
256
- if (NodeCounterProvider != nullptr && perfctr_incrementULongLongValue != nullptr ) {
262
+ if (NodeCounterProvider != nullptr &&
263
+ perfctr_incrementULongLongValue != nullptr ) {
257
264
perfctr_incrementULongLongValue (NodeCounterProvider,
258
265
perfctr_instance,
259
266
NODE_COUNTER_NET_BYTES_SENT,
@@ -263,7 +270,8 @@ void NODE_COUNT_NET_BYTES_SENT(int bytes) {
263
270
264
271
265
272
void NODE_COUNT_NET_BYTES_RECV (int bytes) {
266
- if (NodeCounterProvider != nullptr && perfctr_incrementULongLongValue != nullptr ) {
273
+ if (NodeCounterProvider != nullptr &&
274
+ perfctr_incrementULongLongValue != nullptr ) {
267
275
perfctr_incrementULongLongValue (NodeCounterProvider,
268
276
perfctr_instance,
269
277
NODE_COUNTER_NET_BYTES_RECV,
@@ -293,7 +301,8 @@ void NODE_COUNT_GC_PERCENTTIME(unsigned int percent) {
293
301
294
302
295
303
void NODE_COUNT_PIPE_BYTES_SENT (int bytes) {
296
- if (NodeCounterProvider != nullptr && perfctr_incrementULongLongValue != nullptr ) {
304
+ if (NodeCounterProvider != nullptr &&
305
+ perfctr_incrementULongLongValue != nullptr ) {
297
306
perfctr_incrementULongLongValue (NodeCounterProvider,
298
307
perfctr_instance,
299
308
NODE_COUNTER_PIPE_BYTES_SENT,
@@ -303,7 +312,8 @@ void NODE_COUNT_PIPE_BYTES_SENT(int bytes) {
303
312
304
313
305
314
void NODE_COUNT_PIPE_BYTES_RECV (int bytes) {
306
- if (NodeCounterProvider != nullptr && perfctr_incrementULongLongValue != nullptr ) {
315
+ if (NodeCounterProvider != nullptr &&
316
+ perfctr_incrementULongLongValue != nullptr ) {
307
317
perfctr_incrementULongLongValue (NodeCounterProvider,
308
318
perfctr_instance,
309
319
NODE_COUNTER_PIPE_BYTES_RECV,
0 commit comments