public static int getJstatItem(List<JstatItem> jstatItemList, long timeStampMS) {
		if (jstatItemList == null)
			return -1;

		int beforeIndex = 0;
		int afterIndex = jstatItemList.size() - 1;

		for (int i = 0; i < jstatItemList.size(); i++) {
			JstatItem item = jstatItemList.get(i);
			if (item.getTimeStampMS() == timeStampMS) {
				return i;
			} else if (timeStampMS > item.getTimeStampMS()) {
				beforeIndex = i;
			} else {
				afterIndex = i;
			}
		}

		return afterIndex;
	}