public static void lapRestart(String name) {
		long end = System.nanoTime();
		if (!initialized)
			return;
		int index = names.indexOf(name);
		if (index < 0) {
			index = names.size();
			names.add(name);
			sums.add(0L);
			counts.add(0L);
		}

		long before = sums.get(index);
		sums.set(index,sums.get(index) + end - timer);
		if (sums.get(index) < before)
			throw new IndexOutOfBoundsException();// overflow
		counts.set(index,counts.get(index) + 1);
		timer = System.nanoTime();
	}