Skip to content

Commit 42f3629

Browse files
committed
Minor comment improvements for instrumentation.h
Remove a duplicated word. Add "of" or "# of" in a couple places for clarity and consistency. Start comments with a lower case letter as we do elsewhere in this file. Rafia Sabih
1 parent 9a79823 commit 42f3629

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

src/include/executor/instrument.h

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -48,20 +48,20 @@ typedef struct Instrumentation
4848
bool need_bufusage; /* true if we need buffer usage data */
4949
/* Info about current plan cycle: */
5050
bool running; /* true if we've completed first tuple */
51-
instr_time starttime; /* Start time of current iteration of node */
52-
instr_time counter; /* Accumulated runtime for this node */
53-
double firsttuple; /* Time for first tuple of this cycle */
54-
double tuplecount; /* Tuples emitted so far this cycle */
55-
BufferUsage bufusage_start; /* Buffer usage at start */
51+
instr_time starttime; /* start time of current iteration of node */
52+
instr_time counter; /* accumulated runtime for this node */
53+
double firsttuple; /* time for first tuple of this cycle */
54+
double tuplecount; /* # of tuples emitted so far this cycle */
55+
BufferUsage bufusage_start; /* buffer usage at start */
5656
/* Accumulated statistics across all completed cycles: */
57-
double startup; /* Total startup time (in seconds) */
58-
double total; /* Total total time (in seconds) */
59-
double ntuples; /* Total tuples produced */
60-
double ntuples2; /* Secondary node-specific tuple counter */
57+
double startup; /* total startup time (in seconds) */
58+
double total; /* total time (in seconds) */
59+
double ntuples; /* total tuples produced */
60+
double ntuples2; /* secondary node-specific tuple counter */
6161
double nloops; /* # of run cycles for this node */
62-
double nfiltered1; /* # tuples removed by scanqual or joinqual */
63-
double nfiltered2; /* # tuples removed by "other" quals */
64-
BufferUsage bufusage; /* Total buffer usage */
62+
double nfiltered1; /* # of tuples removed by scanqual or joinqual */
63+
double nfiltered2; /* # of tuples removed by "other" quals */
64+
BufferUsage bufusage; /* total buffer usage */
6565
} Instrumentation;
6666

6767
typedef struct WorkerInstrumentation

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy