Esempio n. 1
0
 public long mark(String label, long time) {
   TimeEntry entry = new TimeEntry();
   entry.label = label;
   entry.time = time;
   entries.add(entry);
   return entry.time;
 }
Esempio n. 2
0
 public long mark(String label) {
   TimeEntry entry = new TimeEntry();
   entry.label = label;
   entry.time = System.currentTimeMillis();
   entries.add(entry);
   return entry.time;
 }