Searched refs:initialTimeInStateFile (Results 1 – 2 of 2) sorted by relevance
59 Path initialTimeInStateFile = mProcDirectory.toPath().resolve("initial-time-in-state"); in testSimple() local60 Files.write(initialTimeInStateFile, "1 2\n3 4\n5 6\n7 8\n".getBytes()); in testSimple()61 ProcTimeInStateReader reader = new ProcTimeInStateReader(initialTimeInStateFile); in testSimple()70 reader.getUsageTimesMillis(initialTimeInStateFile)); in testSimple()75 final Path initialTimeInStateFile = mProcDirectory.toPath().resolve( in testHeaderFormat() local77 Files.write(initialTimeInStateFile, "header1\n1 2\nheader2:\n3 4\n5 6\n7 8\n".getBytes()); in testHeaderFormat()78 final ProcTimeInStateReader reader = new ProcTimeInStateReader(initialTimeInStateFile); in testHeaderFormat()87 reader.getUsageTimesMillis(initialTimeInStateFile)); in testHeaderFormat()92 Path initialTimeInStateFile = mProcDirectory.toPath().resolve("initial-time-in-state"); in testDifferentFile() local93 Files.write(initialTimeInStateFile, "1 2\n3 4\n5 6\n7 8\n".getBytes()); in testDifferentFile()[all …]
109 public ProcTimeInStateReader(Path initialTimeInStateFile) throws IOException { in ProcTimeInStateReader() argument110 initializeTimeInStateFormat(initialTimeInStateFile); in ProcTimeInStateReader()