Tighter description of I/O stats in the shell. Show I/O stats on speedtest1.c.

FossilOrigin-Name: f681d800340e0e710f73d0f7c09101f899249183
This commit is contained in:
drh
2016-02-27 19:19:22 +00:00
parent 3478490332
commit fc1a84c57b
4 changed files with 60 additions and 15 deletions
+7 -7
View File
@@ -1299,13 +1299,13 @@ static void displayLinuxIoStats(FILE *out){
const char *zPattern;
const char *zDesc;
} aTrans[] = {
{ "rchar: ", "Number of bytes received by read():" },
{ "wchar: ", "Number of bytes sent to write():" },
{ "syscr: ", "Number of read() system calls:" },
{ "syscw: ", "Number of write() system calls:" },
{ "read_bytes: ", "Number of bytes from storage:" },
{ "write_bytes: ", "Number of bytes sent to storage:" },
{ "cancelled_write_bytes: ", "Cancelled write bytes:" },
{ "rchar: ", "Bytes received by read():" },
{ "wchar: ", "Bytes sent to write():" },
{ "syscr: ", "Read() system calls:" },
{ "syscw: ", "Write() system calls:" },
{ "read_bytes: ", "Bytes read from storage:" },
{ "write_bytes: ", "Bytes written to storage:" },
{ "cancelled_write_bytes: ", "Cancelled write bytes:" },
};
int i;
for(i=0; i<ArraySize(aTrans); i++){