public void addHeapUsage(String name, float total,
	    float used, long[] bound) {
	switch(name) {
	case "newGen":
	    newGen = new HeapUsage(total, used, bound); 
	    break;
	    
	case "oldGen":
	    oldGen = new HeapUsage(total, used, bound);
	    break;
	    
	case "eden":
	    eden = new HeapUsage(total, used, bound);
	    break;
	    
	case "from":
	    from = new HeapUsage(total, used, bound);
	    break;
	    
	case "to":
	    to = new HeapUsage(total, used, bound);
	    break;
	  
	}
	
    }