

def compute_bandwidth(str_end_time, str_start_time, str_layer_size):
    bandwidth = 0.0
    if (str_start_time is None):
        return bandwidth
    if (str_end_time is None):
        return bandwidth
    if (str_layer_size is None):
        return bandwidth
    start_time = convert_str_to_datetime(str_start_time)
    end_time = convert_str_to_datetime(str_end_time)
    layer_size = long(str_layer_size)
    layer_size_kb = ((layer_size * 8) / 1024)
    delta = (end_time - start_time)
    num_seconds = delta.total_seconds()
    bandwidth = 0.0
    if (str_start_time and (layer_size_kb > 100)):
        bandwidth = (layer_size_kb / num_seconds)
    return bandwidth

dataset/ETHPy150Open docker/docker-registry/scripts/bandwidth_parser.py compute_bandwidth/VarMisuse@112/178 `num_seconds`->`str_start_time`