def format_time_str(parse_time) -> str:
    """
    Format execution time to be printed out

    :param parse_time:      Timespan.
    :return:                Formated string.
    """
    hours = int(parse_time / 3600)
    minutes = int((parse_time - hours * 3600) / 60)
    seconds = int(parse_time % 60)
    millis  = int((parse_time % 60 - seconds) * 1000)
    return "{}h {}m {}s {}ms".format(hours, minutes, seconds, millis)