#NEWLINE# def report_disk_usage( self , store ) : #NEWLINE# #INDENT# index_size = store . get_one ( 'final_index_size_bytes' ) #NEWLINE# bytes_written = store . get_one ( ( 'disk_io_write_bytes_%s' % track . BenchmarkPhase . index . name ) ) #NEWLINE# if ( ( index_size is not None ) and ( bytes_written is not None ) ) : #NEWLINE# #INDENT# print ( ( '  Final index size: %.1fGB (%.1fMB)' % ( convert . bytes_to_gb ( index_size ) , convert . bytes_to_mb ( index_size ) ) ) ) #NEWLINE# print ( ( '  Totally written: %.1fGB (%.1fMB)' % ( convert . bytes_to_gb ( bytes_written ) , convert . bytes_to_mb ( bytes_written ) ) ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# print ( '  Could not determine disk usage metrics' )