class CompStatistics implements Comparable<CompStatistics> {

	private String componentClazzName;

	private long timeSpent;

	private long memorySpent;

	private long recordTime;

	public CompStatistics(String componentClazzName, long timeSpent) {
		this.componentClazzName = componentClazzName;
		this.timeSpent = timeSpent;
		this.recordTime = System.currentTimeMillis();
	}

	public String getComponentClazzName() {
		return componentClazzName;
	}

	public void setComponentClazzName(String componentClazzName) {
		this.componentClazzName = componentClazzName;
	}

	public long getTimeSpent() {
		return timeSpent;
	}

	public void setTimeSpent(long timeSpent) {
		this.timeSpent = timeSpent;
	}

	public long getMemorySpent() {
		return memorySpent;
	}

	public void setMemorySpent(long memorySpent) {
		this.memorySpent = memorySpent;
	}

	public long getRecordTime() {
		return recordTime;
	}

	@Override
	public int compareTo(CompStatistics o) {<FILL_FUNCTION_BODY>}

}

		if (o != null) {
			return this.recordTime >= o.getRecordTime() ? -1 : 1;
		}
		return 1;
	
<no_super_class>