Log.write(Conversions.pagesToBytes(Plan.getPagesUsed())>>10);
Log.write(Conversions.pagesToBytes(Plan.getPagesUsed()).toWord().rshl(10).toInt());
  private final void printStats() {    gcStopTime = VM_Interface.cycles();    if ((Options.verbose == 1) || (Options.verbose == 2)) {      Log.write("-> ");      Log.write(Conversions.pagesToBytes(Plan.getPagesUsed())>>10);      Log.write(" KB   ");      if (Options.verbose == 1) {        Log.write(VM_Interface.cyclesToMillis(gcStopTime - gcStartTime));         Log.writeln(" ms]");      } else {        Log.write("End ");         Log.write(VM_Interface.cyclesToMillis(gcStopTime - bootTime));        Log.writeln(" ms]");      }    }    if (Options.verbose > 2) {      Log.write("   After Collection: ");      MemoryResource.showUsage(MB);      if (Options.verbose >= 4) {          Log.write("                     ");          MemoryResource.showUsage(PAGES);      }      Log.write("                     reserved = "); writePages(Plan.getPagesReserved(), MB_PAGES);      Log.write("      total = "); writePages(getTotalPages(), MB_PAGES);      Log.writeln();      Log.write("    Collection time: ");      Log.write(VM_Interface.cyclesToSecs(gcStopTime - gcStartTime),3);      Log.writeln(" seconds");    }    if (Options.verboseTiming) printDetailedTiming(false);  }