diff options
author | Stefan Haberland <sth@linux.vnet.ibm.com> | 2017-07-14 10:33:18 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2017-08-23 13:31:46 +0200 |
commit | d2907225cf9621140664209037bbce5107e02c91 (patch) | |
tree | 501a5fc34a476a0105011ec29ca2e7455adb8f46 /drivers/s390/block/dasd_int.h | |
parent | a3c1a2194a7c776c08ad704cd8a3b3ea694c60e6 (diff) | |
download | linux-d2907225cf9621140664209037bbce5107e02c91.tar.gz linux-d2907225cf9621140664209037bbce5107e02c91.tar.bz2 linux-d2907225cf9621140664209037bbce5107e02c91.zip |
s390/dasd: add average request times to dasd statistics
Add average times to the DASD statistics interface.
Signed-off-by: Stefan Haberland <sth@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/block/dasd_int.h')
-rw-r--r-- | drivers/s390/block/dasd_int.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/s390/block/dasd_int.h b/drivers/s390/block/dasd_int.h index dca7cb1e6f65..43f383b2f87d 100644 --- a/drivers/s390/block/dasd_int.h +++ b/drivers/s390/block/dasd_int.h @@ -454,6 +454,10 @@ struct dasd_profile_info { unsigned int dasd_read_time2[32]; /* hist. of time from start to irq */ unsigned int dasd_read_time3[32]; /* hist. of time from irq to end */ unsigned int dasd_read_nr_req[32]; /* hist. of # of requests in chanq */ + unsigned long dasd_sum_times; /* sum of request times */ + unsigned long dasd_sum_time_str; /* sum of time from build to start */ + unsigned long dasd_sum_time_irq; /* sum of time from start to irq */ + unsigned long dasd_sum_time_end; /* sum of time from irq to end */ }; struct dasd_profile { |