def METHOD_NAME(self, diskstats):
    current_time = time.monotonic()
    timedelta = current_time - self.last_time
    read = (diskstats[0] - self.last_diskstats[0]) / timedelta
    write = (diskstats[1] - self.last_diskstats[1]) / timedelta
    total = read + write
    self.last_diskstats = diskstats
    self.last_time = current_time
    return read, write, total