Beispiel #1
0
def loadrequerimiento2(diccio,pais):
    delta_time = -1.0
    delta_memory = -1.0

    tracemalloc.start()
    start_time = getTime()
    start_memory = getMemory()

    trenvalencia=model.requerimiento2(diccio,pais)
    stop_memory = getMemory()
    stop_time = getTime()
    tracemalloc.stop()

    delta_time = stop_time - start_time
    delta_memory = deltaMemory(start_memory, stop_memory)

    return trenvalencia,delta_time, delta_memory
def requerimiento2(catalog, menor1, mayor1, menor2, mayor2):
    delta_time = -1.0
    delta_memory = -1.0

    tracemalloc.start()
    start_time = getTime()
    start_memory = getMemory()

    resp = model.requerimiento2(catalog, menor1, mayor1, menor2, mayor2)
    stop_memory = getMemory()
    stop_time = getTime()
    tracemalloc.stop()

    delta_time = stop_time - start_time
    delta_memory = deltaMemory(start_memory, stop_memory)

    return delta_time, delta_memory, resp
def loadrequerimiento2(dicci, d1, d2, e1, e2):

    delta_time = -1.0
    delta_memory = -1.0

    tracemalloc.start()
    start_time = getTime()
    start_memory = getMemory()

    lupita = model.requerimiento2(dicci, d1, d2, e1, e2)

    stop_memory = getMemory()
    stop_time = getTime()
    tracemalloc.stop()

    delta_time = stop_time - start_time
    delta_memory = deltaMemory(start_memory, stop_memory)

    return lupita[0], lupita[1], delta_time, delta_memory
Beispiel #4
0
def requerimiento2(catalog, minEner, maxEner, minDanc, maxDanc):
    return model.requerimiento2(catalog, minEner, maxEner, minDanc, maxDanc)
Beispiel #5
0
def requerimiento2(catalog, country):
    return model.requerimiento2(catalog, country)
Beispiel #6
0
def requerimiento2(catalog, pais):
    req_2 = model.requerimiento2(catalog, pais)
    return req_2
Beispiel #7
0
def requerimiento2(catalog):
    return model.requerimiento2(catalog)
def requerimiento2(Catalog, min_energy, max_energy, min_danceability,
                   max_danceability):

    return model.requerimiento2(Catalog, min_energy, max_energy,
                                min_danceability, max_danceability)
Beispiel #9
0
def requerimiento2(catalog, countryname):
    llaves = model.requerimiento2(catalog, countryname)
    return llaves
def requerimiento2(catalog, pais, tipodeorden, tipo):

    return model.requerimiento2(catalog, pais, tipodeorden, tipo)