Implement methods in Cpuacct.java