diff options
author | Robert Haas <rhaas@postgresql.org> | 2019-12-05 07:53:12 -0500 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2019-12-05 07:56:29 -0500 |
commit | 42f362967d9f82043608610c689c24046e07497c (patch) | |
tree | ab24a2e2c80956c422baef81acdcea17d9650fb7 | |
parent | 9a798234963cd1f746ded41453392c257a4f9fdd (diff) | |
download | postgresql-42f362967d9f82043608610c689c24046e07497c.tar.gz postgresql-42f362967d9f82043608610c689c24046e07497c.zip |
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
-rw-r--r-- | src/include/executor/instrument.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/include/executor/instrument.h b/src/include/executor/instrument.h index 70d8632305e..13aaf054531 100644 --- a/src/include/executor/instrument.h +++ b/src/include/executor/instrument.h @@ -48,20 +48,20 @@ typedef struct Instrumentation bool need_bufusage; /* true if we need buffer usage data */ /* Info about current plan cycle: */ bool running; /* true if we've completed first tuple */ - instr_time starttime; /* Start time of current iteration of node */ - instr_time counter; /* Accumulated runtime for this node */ - double firsttuple; /* Time for first tuple of this cycle */ - double tuplecount; /* Tuples emitted so far this cycle */ - BufferUsage bufusage_start; /* Buffer usage at start */ + instr_time starttime; /* start time of current iteration of node */ + instr_time counter; /* accumulated runtime for this node */ + double firsttuple; /* time for first tuple of this cycle */ + double tuplecount; /* # of tuples emitted so far this cycle */ + BufferUsage bufusage_start; /* buffer usage at start */ /* Accumulated statistics across all completed cycles: */ - double startup; /* Total startup time (in seconds) */ - double total; /* Total total time (in seconds) */ - double ntuples; /* Total tuples produced */ - double ntuples2; /* Secondary node-specific tuple counter */ + double startup; /* total startup time (in seconds) */ + double total; /* total time (in seconds) */ + double ntuples; /* total tuples produced */ + double ntuples2; /* secondary node-specific tuple counter */ double nloops; /* # of run cycles for this node */ - double nfiltered1; /* # tuples removed by scanqual or joinqual */ - double nfiltered2; /* # tuples removed by "other" quals */ - BufferUsage bufusage; /* Total buffer usage */ + double nfiltered1; /* # of tuples removed by scanqual or joinqual */ + double nfiltered2; /* # of tuples removed by "other" quals */ + BufferUsage bufusage; /* total buffer usage */ } Instrumentation; typedef struct WorkerInstrumentation |