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
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
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
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
def requerimiento4(catalog, tablage, listage): return model.requerimiento4(catalog, tablage, listage)
def requerimiento4(country, tag, catalog): return model.requerimiento4(country, tag, catalog)
def requerimiento4(catalog): return model.requerimiento4(catalog)
def requerimiento4(catalog, pais, tag, cantidad): videos = model.requerimiento4(catalog, pais, tag, cantidad) return videos
def requerimiento4(catalog, size, tipodeorden, tagg, tipo): return model.requerimiento4(catalog, size, tipodeorden, tagg, tipo)
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)
def requerimiento4(catalog, size, tagg, pais): return model.requerimiento4(catalog, size, tagg, pais)