public static String pollFPS() throws Exception{
		int fps = FPSRetrieval.getFPS(TIME_INTERVAL_NANO_SECONDS);

		if(fps != FPSRetrieval.NO_FPS_CALCULATED){
			fpsData.add(fps);
			totalFPS += fps;
			numFPSSamples++;

			if(fps < minFPS){
				minFPS = fps;
			}

			if(fps > maxFPS){
				maxFPS = fps;
			}

		} else {
			throw new Exception();
		}

		if(shouldShowChart) {
			fpsChart.addData(0, numSamples, fps);
		}

		int averageFPS = getAverageFPS();
		String output = String.format(TEXT_FPS_PROGRESS_FORMAT, numSamples ,fps, averageFPS);
		return output;
	}