def get_runtime(profileDict):
    """
    Gets the runtime (in milliseconds) of an application run

    Args:
        profileDict (dict): Dictionary which is assumed to be taken from the
            JSON representation of a MAP profile

    Returns:
        The runtime of the application
    """
    assert isinstance(profileDict, dict)

    return int(profileDict["info"]["runtime"])