[thin_show_dups] tidy up reporting

This commit is contained in:
Joe Thornber
2015-09-04 15:16:49 +01:00
parent 41a1b85c27
commit 251762e6d9
8 changed files with 58 additions and 72 deletions
+2 -8
View File
@@ -37,9 +37,9 @@ cache_stream::cache_stream(string const &path,
}
block_address
cache_stream::nr_chunks() const
cache_stream::size() const
{
return nr_blocks_;
return nr_blocks_ * block_size_;
}
void
@@ -68,12 +68,6 @@ cache_stream::eof() const
return current_index_ >= nr_blocks_;
}
block_address
cache_stream::index() const
{
return current_index_;
}
chunk const &
cache_stream::get()
{