numberOfBufferTriples = VM_Controller.options.DCG_SAMPLE_SIZE;
if (VM_Controller.options.cgCBS()) { numberOfBufferTriples = VM_Controller.options.DCG_SAMPLE_SIZE * VM.CBSCallSamplesPerTick; } else { numberOfBufferTriples = VM_Controller.options.DCG_SAMPLE_SIZE; }
  public void initialize() {    if (VM.LogAOSEvents) VM_AOSLogging.DCGOrganizerThreadStarted();    numberOfBufferTriples = VM_Controller.options.DCG_SAMPLE_SIZE;    numberOfBufferTriples *= VM_Scheduler.numProcessors;    bufferSize = numberOfBufferTriples * 3;    buffer     = new int[bufferSize];    ((VM_EdgeListener)listener).setBuffer(buffer);     // Install the edge listener    VM_RuntimeMeasurements.installTimerContextListener((VM_EdgeListener)listener);  }