refactor timeinfo class to tuple, get_sample_size