add fps statistics.