예제 #1
0
def loadrequerimiento4(diccio,country,numero,tag):
    delta_time = -1.0
    delta_memory = -1.0

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

    paul=model.requerimiento4(diccio,country,numero,tag)

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

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

    return paul,delta_time, delta_memory
예제 #2
0
def requerimiento4(catalog, mapa_generos):
    delta_time = -1.0
    delta_memory = -1.0

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

    resp = model.requerimiento4(catalog, mapa_generos)

    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
예제 #3
0
def loadrequerimiento4(dicci, tag, numero):

    delta_time = -1.0
    delta_memory = -1.0

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

    pomona = model.requerimiento4(dicci, tag, numero)

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

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

    return pomona, delta_time, delta_memory
예제 #4
0
def loadrequerimiento4(info, nom1, nom2, nom3, nom4, des1, des2):

    delta_time = -1.0
    delta_memory = -1.0

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

    tempo = model.requerimiento4(info, nom1, nom2, nom3, nom4, des1, des2)

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

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

    return tempo[0], tempo[1], tempo[2], tempo[3], tempo[4], tempo[5], tempo[
        6], tempo[7], tempo[8], tempo[9], tempo[10], tempo[
            11], delta_time, delta_memory
예제 #5
0
def requerimiento4(catalog, tablage, listage):
    return model.requerimiento4(catalog, tablage, listage)
예제 #6
0
def requerimiento4(country, tag, catalog):
    return model.requerimiento4(country, tag, catalog)
예제 #7
0
def requerimiento4(catalog):
    return model.requerimiento4(catalog)
예제 #8
0
def requerimiento4(catalog, pais, tag, cantidad):
    videos = model.requerimiento4(catalog, pais, tag, cantidad)
    return videos
예제 #9
0
def requerimiento4(catalog, size, tipodeorden, tagg, tipo):

    return model.requerimiento4(catalog, size, tipodeorden, tagg, tipo)
예제 #10
0
def requerimiento4(catalog, country, tag, num_vids):

    return model.requerimiento4(catalog, country, tag, num_vids)
def requerimiento4(catalog, tag, country):
    return model.requerimiento4(catalog, tag, country)
예제 #12
0
def requerimiento4(catalog, size, tagg, pais):

    return model.requerimiento4(catalog, size, tagg, pais)