PabloPuig1 il y a 1 an
Parent
révision
622468796a
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2
    2
      sorting.py

+ 2
- 2
sorting.py Voir le fichier

@@ -64,9 +64,9 @@ for i in range(veces):
64 64
 	# mergeSort(mergelista) 				#ejecutamos el algoritmo mergeSort
65 65
 	# acumulaMerge+=time.clock()-t1 	#acumulamos el tiempo de ejecucion
66 66
 	
67
-	t1 = time.time()						#seteamos el tiempo al empezar
67
+	t1 = time.process_time()						#seteamos el tiempo al empezar
68 68
 	heapSort(heaplista)						#ejecutamos el algoritmo heapSort
69
-	acumulaHeap += time.time() - t1			#acumulamos el tiempo de ejecucion
69
+	acumulaHeap += time.process_time() - t1			#acumulamos el tiempo de ejecucion
70 70
 	
71 71
 	# t1 = time.clock()				#seteamos el tiempo al empezar
72 72
 	# quickSort(quicklista)				#ejecutamos el algoritmo quickSort