File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/main/java/com/google/devtools/build/lib/remote/disk Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -130,17 +130,17 @@ public record CollectionStats(
130130 public String displayString () {
131131 double elapsedSeconds = elapsedTime .toSecondsPart () + elapsedTime .toMillisPart () / 1000.0 ;
132132 int filesPerSecond = (int ) Math .round ((double ) deletedEntries / elapsedSeconds );
133- int mbPerSecond = (int ) Math .round ((deletedBytes / ( 1024.0 * 1024.0 )) / elapsedSeconds );
133+ int bytesPerSecond = (int ) Math .round ((double ) deletedBytes / elapsedSeconds );
134134
135- return "Deleted %d of %d files, reclaimed %s of %s in %.2f seconds (%d files/s, %d MB /s)%s"
135+ return "Deleted %d of %d files, reclaimed %s of %s in %.2f seconds (%d files/s, %s /s)%s"
136136 .formatted (
137137 deletedEntries (),
138138 totalEntries (),
139139 bytesCountToDisplayString (deletedBytes ()),
140140 bytesCountToDisplayString (totalBytes ()),
141141 elapsedSeconds ,
142142 filesPerSecond ,
143- mbPerSecond ,
143+ bytesCountToDisplayString ( bytesPerSecond ) ,
144144 concurrentUpdate () ? " (concurrent update detected)" : "" );
145145 }
146146 }
You can’t perform that action at this time.
0 commit comments