buffer_code = ONE; index_1 = 0;
buffer_code = ONE; index_1 = Offset.zero();
  public void boot() throws LogicallyUninterruptiblePragma  {    if(VM_HardwarePerformanceMonitors.verbose>=2)VM.sysWriteln("VM_HPM.boot() PID ",vpid);    vp_counters  = new HPM_counters();    tmp_counters = new HPM_counters();    n_values = HPM_info.getNumberOfValues();    if (VM_HardwarePerformanceMonitors.trace) {      if(VM_HardwarePerformanceMonitors.verbose>=2)VM.sysWriteln("VM_HPM.boot() pid ",vpid," create VM_TraceWriter as a consumer");      consumer     = new VM_TraceWriter(this, vpid);      consumer.start(); // start the thread !      if(VM_HardwarePerformanceMonitors.verbose>=2)VM.sysWriteln("VM_HPM.boot() pid ",vpid," allocate local buffers");      buffer_1 = new byte[OUTPUT_BUFFER_SIZE];      buffer_2 = new byte[OUTPUT_BUFFER_SIZE];      // start with buffer ONE.      buffer_code = ONE; index_1 = 0;    }  }