Fix bug where measurements were not printed in the correct order when steady state...
authorVincent Fu <Vincent.Fu@sandisk.com>
Wed, 13 Jul 2016 18:38:57 +0000 (14:38 -0400)
committerJens Axboe <axboe@fb.com>
Mon, 15 Aug 2016 15:44:52 +0000 (09:44 -0600)
commit412c7d91f9bac0b5e857a0daa4233d0ff5e01154
tree4c151fcc00cbdca5ceae3b77bfe00dc047ab07da
parent6da94b076ca08f884dc83c9978bc995848dea0e8
Fix bug where measurements were not printed in the correct order when steady state was not attained

ss->head points to the beginning of the buffer up through the point where the buffer is filled for the first time. afterwards, when a new element is added, ss->head is advanced to point to the second element in the buffer. if steady state is attained upon adding a new element, ss->head is not advanced so it actually does point to the head of the buffer.
stat.c