8000 Rename I/O timing statistics columns to blk_read_time and blk_write_t… · jandas/postgres@1dd89ea · GitHub
[go: up one dir, main page]

Skip to content 8000

Commit 1dd89ea

Browse files
committed
Rename I/O timing statistics columns to blk_read_time and blk_write_time.
This seems more consistent with the pre-existing choices for names of other statistics columns. Rename assorted internal identifiers to match.
1 parent 309c647 commit 1dd89ea

File tree

16 files changed

+79
-79
lines changed

16 files changed

+79
-79
lines changed

contrib/pg_stat_statements/pg_stat_statements--1.0--1.1.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ CREATE FUNCTION pg_stat_statements(
2929
OUT local_blks_written int8,
3030
OUT temp_blks_read int8,
3131
OUT temp_blks_written int8,
32-
OUT time_read float8,
33-
OUT time_write float8
32+
OUT blk_read_time float8,
33+
OUT blk_write_time float8
3434
)
3535
RETURNS SETOF record
3636
AS 'MODULE_PATHNAME'

contrib/pg_stat_statements/pg_stat_statements--1.1.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ CREATE FUNCTION pg_stat_statements(
2626
OUT local_blks_written int8,
2727
OUT temp_blks_read int8,
2828
OUT temp_blks_written int8,
29-
OUT time_read float8,
30-
OUT time_write float8
29+
OUT blk_read_time float8,
30+
OUT blk_write_time float8
3131
)
3232
RETURNS SETOF record
3333
AS 'MODULE_PATHNAME'

contrib/pg_stat_statements/pg_stat_statements.c

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -103,19 +103,19 @@ typedef struct Counters
103103
int64 calls; /* # of times executed */
104104
double total_time; /* total execution time, in msec */
105105
int64 rows; /* total # of retrieved or affected rows */
106-
int64 shared_blks_hit; /* # of shared buffer hits */
106+
int64 shared_blks_hit; /* # of shared buffer hits */
107107
int64 shared_blks_read; /* # of shared disk blocks read */
108108
int64 shared_blks_dirtied; /* # of shared disk blocks dirtied */
109109
int64 shared_blks_written; /* # of shared disk blocks written */
110-
int64 local_blks_hit; /* # of local buffer hits */
111-
int64 local_blks_read; /* # of local disk blocks read */
110+
int64 local_blks_hit; /* # of local buffer hits */
111+
int64 local_blks_read; /* # of local disk blocks read */
112112
int64 local_blks_dirtied; /* # of local disk blocks dirtied */
113113
int64 local_blks_written; /* # of local disk blocks written */
114-
int64 temp_blks_read; /* # of temp blocks read */
114+
int64 temp_blks_read; /* # of temp blocks read */
115115
int64 temp_blks_written; /* # of temp blocks written */
116-
double time_read; /* time spent reading, in msec */
117-
double time_write; /* time spent writing, in msec */
118-
double usage; /* usage factor */
116+
double blk_read_time; /* time spent reading, in msec */
117+
double blk_write_time; /* time spent writing, in msec */
118+
double usage; /* usage factor */
119119
} Counters;
120120

121121
/*
@@ -846,10 +846,10 @@ pgss_ProcessUtility(Node *parsetree, const char *queryString,
846846
pgBufferUsage.temp_blks_read - bufusage_start.temp_blks_read;
847847
bufusage.temp_blks_written =
848848
pgBufferUsage.temp_blks_written - bufusage_start.temp_blks_written;
849-
bufusage.time_read = pgBufferUsage.time_read;
850-
INSTR_TIME_SUBTRACT(bufusage.time_read, bufusage_start.time_read);
851-
bufusage.time_write = pgBufferUsage.time_write;
852-
INSTR_TIME_SUBTRACT(bufusage.time_write, bufusage_start.time_write);
849+
bufusage.blk_read_time = pgBufferUsage.blk_read_time;
850+
INSTR_TIME_SUBTRACT(bufusage.blk_read_time, bufusage_start.blk_read_time);
851+
bufusage.blk_write_time = pgBufferUsage.blk_write_time;
852+
INSTR_TIME_SUBTRACT(bufusage.blk_write_time, bufusage_start.blk_write_time);
853853

854854
/* For utility statements, we just hash the query string directly */
855855
queryId = pgss_hash_string(queryString);
@@ -1021,8 +1021,8 @@ pgss_store(const char *query, uint32 queryId,
10211021
e->counters.local_blks_written += bufusage->local_blks_written;
10221022
e->counters.temp_blks_read += bufusage->temp_blks_read;
10231023
e->counters.temp_blks_written += bufusage->temp_blks_written;
1024-
e->counters.time_read += INSTR_TIME_GET_MILLISEC(bufusage->time_read);
1025-
e->counters.time_write += INSTR_TIME_GET_MILLISEC(bufusage->time_write);
1024+
e->counters.blk_read_time += INSTR_TIME_GET_MILLISEC(bufusage->blk_read_time);
1025+
e->counters.blk_write_time += INSTR_TIME_GET_MILLISEC(bufusage->blk_write_time);
10261026
e->counters.usage += USAGE_EXEC(total_time);
10271027

10281028
SpinLockRelease(&e->mutex);
@@ -1163,8 +1163,8 @@ pg_stat_statements(PG_FUNCTION_ARGS)
11631163
values[i++] = Int64GetDatumFast(tmp.temp_blks_written);
11641164
if (sql_supports_v1_1_counters)
11651165
{
1166-
values[i++] = Float8GetDatumFast(tmp.time_read);
1167-
values[i++] = Float8GetDatumFast(tmp.time_write);
1166+
values[i++] = Float8GetDatumFast(tmp.blk_read_time);
1167+
values[i++] = Float8GetDatumFast(tmp.blk_write_time);
11681168
}
11691169

11701170
Assert(i == (sql_supports_v1_1_counters ?

doc/src/sgml/monitoring.sgml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -839,13 +839,13 @@ postgres: <replaceable>user</> <replaceable>database</> <replaceable>host</> <re
839839
<entry>Number of deadlocks detected in this database</entry>
840840
</row>
841841
<row>
842-
<entry><structfield>block_read_time</></entry>
842+
<entry><structfield>blk_read_time</></entry>
843843
<entry><type>bigint</></entry>
844844
<entry>Time spent reading data file blocks by backends in this database,
845845
in milliseconds</entry>
846846
</row>
847847
<row>
848-
<entry><structfield>block_write_time</></entry>
848+
<entry><structfield>blk_write_time</></entry>
849849
<entry><type>bigint</></entry>
850850
<entry>Time spent writing data file blocks by backends in this database,
851851
in milliseconds</entry>
@@ -1709,8 +1709,6 @@ SELECT pg_stat_get_backend_pid(s.backendid) AS pid,
17091709
<entry><literal><function>pg_stat_get_backend_start(integer)</function></literal></entry>
17101710
<entry><type>timestamp with time zone</type></entry>
17111711
<entry>Time when this process was started</entry>
1712-
<entry>
1713-
</entry>
17141712
</row>
17151713

17161714
<row>

doc/src/sgml/pgstatstatements.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@
156156
</row>
157157

158158
<row>
159-
<entry><structfield>time_read</structfield></entry>
159+
<entry><structfield>blk_read_time</structfield></entry>
160160
<entry><type>double precision</type></entry>
161161
<entry></entry>
162162
<entry>
@@ -166,7 +166,7 @@
166166
</row>
167167

168168
<row>
169-
<entry><structfield>time_write</structfield></entry>
169+
<entry><structfield>blk_write_time</structfield></entry>
170170
<entry><type>double precision</type></entry>
171171
<entry></entry>
172172
<entry>

src/backend/catalog/system_views.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -604,8 +604,8 @@ CREATE VIEW pg_stat_database AS
604604
pg_stat_get_db_temp_files(D.oid) AS temp_files,
605605
pg_stat_get_db_temp_bytes(D.oid) AS temp_bytes,
606606
pg_stat_get_db_deadlocks(D.oid) AS deadlocks,
607-
pg_stat_get_db_block_time_read(D.oid) / 1000 AS block_read_time,
608-
pg_stat_get_db_block_time_write(D.oid) / 1000 AS block_write_time,
607+
pg_stat_get_db_blk_read_time(D.oid) / 1000 AS blk_read_time,
608+
pg_stat_get_db_blk_write_time(D.oid) / 1000 AS blk_write_time,
609609
pg_stat_get_db_stat_reset_time(D.oid) AS stats_reset
610610
FROM pg_database D;
611611

src/backend/commands/explain.c

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1236,8 +1236,8 @@ ExplainNode(PlanState *planstate, List *ancestors,
12361236
usage->local_blks_written > 0);
12371237
bool has_temp = (usage->temp_blks_read > 0 ||
12381238
usage->temp_blks_written > 0);
1239-
bool has_timing = (!INSTR_TIME_IS_ZERO(usage->time_read) ||
1240-
!INSTR_TIME_IS_ZERO(usage->time_write));
1239+
bool has_timing = (!INSTR_TIME_IS_ZERO(usage->blk_read_time) ||
1240+
!INSTR_TIME_IS_ZERO(usage->blk_write_time));
12411241

12421242
/* Show only positive counter values. */
12431243
if (has_shared || has_local || has_temp)
@@ -1299,12 +1299,12 @@ ExplainNode(PlanState *planstate, List *ancestors,
12991299
{
13001300
appendStringInfoSpaces(es->str, es->indent * 2);
13011301
appendStringInfoString(es->str, "I/O Timings:");
1302-
if (!INSTR_TIME_IS_ZERO(usage->time_read))
1303-
appendStringInfo(es->str, " read=%0.2f",
1304-
INSTR_TIME_GET_MILLISEC(usage->time_read));
1305-
if (!INSTR_TIME_IS_ZERO(usage->time_write))
1306-
appendStringInfo(es->str, " write=%0.2f",
1307-
INSTR_TIME_GET_MILLISEC(usage->time_write));
1302+
if (!INSTR_TIME_IS_ZERO(usage->blk_read_time))
1303+
appendStringInfo(es->str, " read=%0.3f",
1304+
INSTR_TIME_GET_MILLISEC(usage->blk_read_time));
1305+
if (!INSTR_TIME_IS_ZERO(usage->blk_write_time))
1306+
appendStringInfo(es->str, " write=%0.3f",
1307+
INSTR_TIME_GET_MILLISEC(usage->blk_write_time));
13081308
appendStringInfoChar(es->str, '\n');
13091309
}
13101310
}
@@ -1320,8 +1320,8 @@ ExplainNode(PlanState *planstate, List *ancestors,
13201320
ExplainPropertyLong("Local Written Blocks", usage->local_blks_written, es);
13211321
ExplainPropertyLong("Temp Read Blocks", usage->temp_blks_read, es);
13221322
ExplainPropertyLong("Temp Written Blocks", usage->temp_blks_written, es);
1323-
ExplainPropertyFloat("I/O Read Time", INSTR_TIME_GET_MILLISEC(usage->time_read), 3, es);
1324-
ExplainPropertyFloat("I/O Write Time", INSTR_TIME_GET_MILLISEC(usage->time_write), 3, es);
1323+
ExplainPropertyFloat("I/O Read Time", INSTR_TIME_GET_MILLISEC(usage->blk_read_time), 3, es);
1324+
ExplainPropertyFloat("I/O Write Time", INSTR_TIME_GET_MILLISEC(usage->blk_write_time), 3, es);
13251325
}
13261326
}
13271327

src/backend/executor/instrument.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,8 @@ BufferUsageAccumDiff(BufferUsage *dst,
145145
dst->local_blks_written += add->local_blks_written - sub->local_blks_written;
146146
dst->temp_blks_read += add->temp_blks_read - sub->temp_blks_read;
147147
dst->temp_blks_written += add->temp_blks_written - sub->temp_blks_written;
148-
INSTR_TIME_ACCUM_DIFF(dst->time_read, add->time_read, sub->time_read);
149-
INSTR_TIME_ACCUM_DIFF(dst->time_write, add->time_write, sub->time_write);
148+
INSTR_TIME_ACCUM_DIFF(dst->blk_read_time,
149+
add->blk_read_time, sub->blk_read_time);
150+
INSTR_TIME_ACCUM_DIFF(dst->blk_write_time,
151+
add->blk_write_time, sub->blk_write_time);
150152
}

src/backend/postmaster/pgstat.c

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -197,8 +197,8 @@ static PgStat_SubXactStatus *pgStatXactStack = NULL;
197197

198198
static int pgStatXactCommit = 0;
199199
static int pgStatXactRollback = 0;
200-
PgStat_Counter pgStatBlockTimeRead = 0;
201-
PgStat_Counter pgStatBlockTimeWrite = 0;
200+
PgStat_Counter pgStatBlockReadTime = 0;
201+
PgStat_Counter pgStatBlockWriteTime = 0;
202202

203203
/* Record that's written to 2PC state file when pgstat state is persisted */
204204
typedef struct TwoPhasePgStatRecord
@@ -791,19 +791,19 @@ pgstat_send_tabstat(PgStat_MsgTabstat *tsmsg)
791791
{
792792
tsmsg->m_xact_commit = pgStatXactCommit;
793793
tsmsg->m_xact_rollback = pgStatXactRollback;
794-
tsmsg->m_block_time_read = pgStatBlockTimeRead;
795-
tsmsg->m_block_time_write = pgStatBlockTimeWrite;
794+
tsmsg->m_block_read_time = pgStatBlockReadTime;
795+
tsmsg->m_block_write_time = pgStatBlockWriteTime;
796796
pgStatXactCommit = 0;
797797
pgStatXactRollback = 0;
798-
pgStatBlockTimeRead = 0;
799-
pgStatBlockTimeWrite = 0;
798+
pgStatBlockReadTime = 0;
799+
pgStatBlockWriteTime = 0;
800800
}
801801
else
802802
{
803803
tsmsg->m_xact_commit = 0;
804804
tsmsg->m_xact_rollback = 0;
805-
tsmsg->m_block_time_read = 0;
806-
tsmsg->m_block_time_write = 0;
805+
tsmsg->m_block_read_time = 0;
806+
tsmsg->m_block_write_time = 0;
807807
}
808808

809809
n = tsmsg->m_nentries;
@@ -3360,8 +3360,8 @@ pgstat_get_db_entry(Oid databaseid, bool create)
33603360
result->n_temp_files = 0;
33613361
result->n_temp_bytes = 0;
33623362
result->n_deadlocks = 0;
3363-
result->n_block_time_read = 0;
3364-
result->n_block_time_write = 0;
3363+
result->n_block_read_time = 0;
3364+
result->n_block_write_time = 0;
33653365

33663366
result->stat_reset_timestamp = GetCurrentTimestamp();
33673367

@@ -4080,8 +4080,8 @@ pgstat_recv_tabstat(PgStat_MsgTabstat *msg, int len)
40804080
*/
40814081
dbentry->n_xact_commit += (PgStat_Counter) (msg->m_xact_commit);
40824082
dbentry->n_xact_rollback += (PgStat_Counter) (msg->m_xact_rollback);
4083-
dbentry->n_block_time_read += msg->m_block_time_read;
4084-
dbentry->n_block_time_write += msg->m_block_time_write;
4083+
dbentry->n_block_read_time += msg->m_block_read_time;
4084+
dbentry->n_block_write_time += msg->m_block_write_time;
40854085

40864086
/*
40874087
* Process all table entries in the message.
@@ -4278,8 +4278,8 @@ pgstat_recv_resetcounter(PgStat_MsgResetcounter *msg, int len)
42784278
dbentry->n_temp_bytes = 0;
42794279
dbentry->n_temp_files = 0;
42804280
dbentry->n_deadlocks = 0;
4281-
dbentry->n_block_time_read = 0;
4282-
dbentry->n_block_time_write = 0;
4281+
dbentry->n_block_read_time = 0;
4282+
dbentry->n_block_write_time = 0;
42834283

42844284
dbentry->stat_reset_timestamp = GetCurrentTimestamp();
42854285

src/backend/storage/buffer/bufmgr.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ ReadBuffer_common(SMgrRelation smgr, char relpersistence, ForkNumber forkNum,
451451
INSTR_TIME_SET_CURRENT(io_time);
452452
INSTR_TIME_SUBTRACT(io_time, io_start);
453453
pgstat_count_buffer_read_time(INSTR_TIME_GET_MICROSEC(io_time));
454-
INSTR_TIME_ADD(pgBufferUsage.time_read, io_time);
454+
INSTR_TIME_ADD(pgBufferUsage.blk_read_time, io_time);
455455
}
456456

457457
/* check for garbage data */
@@ -1952,7 +1952,7 @@ FlushBuffer(volatile BufferDesc *buf, SMgrRelation reln)
19521952
INSTR_TIME_SET_CURRENT(io_time);
19531953
INSTR_TIME_SUBTRACT(io_time, io_start);
19541954
pgstat_count_buffer_write_time(INSTR_TIME_GET_MICROSEC(io_time));
1955-
INSTR_TIME_ADD(pgBufferUsage.time_write, io_time);
1955+
INSTR_TIME_ADD(pgBufferUsage.blk_write_time, io_time);
19561956
}
19571957

19581958
pgBufferUsage.shared_blks_written++;

src/backend/utils/adt/pgstatfuncs.c

Lines changed: 6 add 97AE itions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ extern Datum pg_stat_get_db_deadlocks(PG_FUNCTION_ARGS);
8282
extern Datum pg_stat_get_db_stat_reset_time(PG_FUNCTION_ARGS);
8383
extern Datum pg_stat_get_db_temp_files(PG_FUNCTION_ARGS);
8484
extern Datum pg_stat_get_db_temp_bytes(PG_FUNCTION_ARGS);
85-
extern Datum pg_stat_get_db_block_time_read(PG_FUNCTION_ARGS);
86-
extern Datum pg_stat_get_db_block_time_write(PG_FUNCTION_ARGS);
85+
extern Datum pg_stat_get_db_blk_read_time(PG_FUNCTION_ARGS);
86+
extern Datum pg_stat_get_db_blk_write_time(PG_FUNCTION_ARGS);
8787

8888
extern Datum pg_stat_get_bgwriter_timed_checkpoints(PG_FUNCTION_ARGS);
8989
extern Datum pg_stat_get_bgwriter_requested_checkpoints(PG_FUNCTION_ARGS);
@@ -1362,7 +1362,7 @@ pg_stat_get_db_deadlocks(PG_FUNCTION_ARGS)
13621362
}
13631363

13641364
Datum
1365-
pg_stat_get_db_block_time_read(PG_FUNCTION_ARGS)
1365+
pg_stat_get_db_blk_read_time(PG_FUNCTION_ARGS)
13661366
{
13671367
Oid dbid = PG_GETARG_OID(0);
13681368
int64 result;
@@ -1371,13 +1371,13 @@ pg_stat_get_db_block_time_read(PG_FUNCTION_ARGS)
13711371
if ((dbentry = pgstat_fetch_stat_dbentry(dbid)) == NULL)
13721372
result = 0;
13731373
else
1374-
result = (int64) (dbentry->n_block_time_read);
1374+
result = (int64) (dbentry->n_block_read_time);
13751375

13761376
PG_RETURN_INT64(result);
13771377
}
13781378

13791379
Datum
1380-
pg_stat_get_db_block_time_write(PG_FUNCTION_ARGS)
1380+
pg_stat_get_db_blk_write_time(PG_FUNCTION_ARGS)
13811381
{
13821382
Oid dbid = PG_GETARG_OID(0);
13831383
int64 result;
@@ -1386,7 +1386,7 @@ pg_stat_get_db_block_time_write(PG_FUNCTION_ARGS)
13861386
if ((dbentry = pgstat_fetch_stat_dbentry(dbid)) == NULL)
13871387
result = 0;
13881388
else
1389-
result = (int64) (dbentry->n_block_time_write);
1389+
result = (int64) (dbentry->n_block_write_time);
13901390

13911391
PG_RETURN_INT64(result);
13921392
}

src/include/catalog/catversion.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,6 @@
5353
*/
5454

5555
/* yyyymmddN */
56-
#define CATALOG_VERSION_NO 201204201
56+
#define CATALOG_VERSION_NO 201204291
5757

5858
#endif

src/include/catalog/pg_proc.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2662,9 +2662,9 @@ DATA(insert OID = 3150 ( pg_stat_get_db_temp_files PGNSP PGUID 12 1 0 0 0 f f f
26622662
DESCR("statistics: number of temporary files written");
26632663
DATA(insert OID = 3151 ( pg_stat_get_db_temp_bytes PGNSP PGUID 12 1 0 0 0 f f f f t f s 1 0 20 "26" _null_ _null_ _null_ _null_ pg_stat_get_db_temp_bytes _null_ _null_ _null_ ));
26642664
DESCR("statistics: number of bytes in temporary files written");
2665-
DATA(insert OID = 2844 ( pg_stat_get_db_block_time_read PGNSP PGUID 12 1 0 0 0 f f f f t f s 1 0 20 "26" _null_ _null_ _null_ _null_ pg_stat_get_db_block_time_read _null_ _null_ _null_ ));
2665+
DATA(insert OID = 2844 ( pg_stat_get_db_blk_read_time PGNSP PGUID 12 1 0 0 0 f f f f t f s 1 0 20 "26" _null_ _null_ _null_ _null_ pg_stat_get_db_blk_read_time _null_ _null_ _null_ ));
26662666
DESCR("statistics: block read time in microseconds");
2667-
DATA(insert OID = 2845 ( pg_stat_get_db_block_time_write PGNSP PGUID 12 1 0 0 0 f f f f t f s 1 0 20 "26" _null_ _null_ _null_ _null_ pg_stat_get_db_block_time_write _null_ _null_ _null_ ));
2667+
DATA(insert OID = 2845 ( pg_stat_get_db_blk_write_time PGNSP PGUID 12 1 0 0 0 f f f f t f s 1 0 20 "26" _null_ _null_ _null_ _null_ pg_stat_get_db_blk_write_time _null_ _null_ _null_ ));
26682668
DESCR("statistics: block write time in microseconds");
26692669
DATA(insert OID = 2769 ( pg_stat_get_bgwriter_timed_checkpoints PGNSP PGUID 12 1 0 0 0 f f f f t f s 0 0 20 "" _null_ _null_ _null_ _null_ pg_stat_get_bgwriter_timed_checkpoints _null_ _null_ _null_ ));
26702670
DESCR("statistics: number of timed checkpoints started by the bgwriter");

src/include/executor/instrument.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,18 @@
1818

1919
typedef struct BufferUsage
2020
{
21-
long shared_blks_hit; /* # of shared buffer hits */
21+
long shared_blks_hit; /* # of shared buffer hits */
2222
long shared_blks_read; /* # of shared disk blocks read */
2323
long shared_blks_dirtied; /* # of shared blocks dirtied */
2424
long shared_blks_written; /* # of shared disk blocks written */
25-
long local_blks_hit; /* # of local buffer hits */
26-
long local_blks_read; /* # of local disk blocks read */
25+
long local_blks_hit; /* # of local buffer hits */
26+
long local_blks_read; /* # of local disk blocks read */
2727
long local_blks_dirtied; /* # of shared blocks dirtied */
2828
long local_blks_written; /* # of local disk blocks written */
29-
long temp_blks_read; /* # of temp blocks read */
29+
long temp_blks_read; /* # of temp blocks read */
3030
long temp_blks_written; /* # of temp blocks written */
31-
instr_time time_read; /* time spent reading */
32-
instr_time time_write; /* time spent writing */
31+
instr_time blk_read_time; /* time spent reading */
32+
instr_time blk_write_time; /* time spent writing */
3333
} BufferUsage;
3434

3535
/* Flag bits included in InstrAlloc's instrument_options bitmask */

0 commit comments

Comments
 (0)
0