public String getPackageCsv() {
		stopCollecting();
		StringBuilder buff = new StringBuilder();
		buff.append("Package,Self").append(LINE_SEPARATOR);
		for (String k : new TreeSet<String>(packages.keySet())) {
			int percent = 100 * packages.get(k) / Math.max(total, 1);
			buff.append(k).append(",").append(percent).append(LINE_SEPARATOR);
		}
		return buff.toString();
	}
public String getPackageCsv ( ) { stopCollecting ( ) ; StringBuilder buff = new StringBuilder ( ) ; buff . append ( "Package,Self" ) . append ( LINE_SEPARATOR ) ; for ( String k : new TreeSet < String > ( packages . keySet ( ) ) ) { int percent = 100 * packages . get ( k ) / Math . max ( total , 1 ) ; buff . append ( k ) . append ( "," ) . append ( percent ) . append ( LINE_SEPARATOR ) ; } return buff . toString ( ) ; }
Stop and obtain the self execution time of packages, each as a row in CSV
format.

@return the execution time of packages in CSV format