]> AND Private Git Repository - Cipher_code.git/commitdiff
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
new
authorRaphaël Couturier <raphael.couturier@univ-fcomte.fr>
Fri, 9 Jul 2021 20:04:03 +0000 (22:04 +0200)
committerRaphaël Couturier <raphael.couturier@univ-fcomte.fr>
Fri, 9 Jul 2021 20:04:03 +0000 (22:04 +0200)
measure_energy_iot/image_compression.py

index 6e99203be04db29b26cd639dc7a55a1b98c535f7..c33b8db5be759b5cc49712b46d61dcea8ebc31a9 100644 (file)
@@ -58,7 +58,7 @@ print("time resize + cv2",elapsed_time)
 elapsed_time=0
 for i in range(10):
     t = time.process_time()
-    proc=subprocess.Popen("scp lena4.jpg bilbo:/tmp", shell=True)
+    proc=subprocess.Popen("scp lena4.jpg bilbo.iut-bm.univ-fcomte.fr:/tmp", shell=True)
     proc.wait()
     elapsed_time += time.process_time() - t
 
@@ -68,7 +68,7 @@ print("ssh normal",elapsed_time)
 elapsed_time=0
 for i in range(10):
     t = time.process_time()
-    proc=subprocess.Popen("scp lena5.jpg bilbo:/tmp", shell=True)
+    proc=subprocess.Popen("scp lena5.jpg bilbo.iut-bm.univ-fcomte.fr:/tmp", shell=True)
     proc.wait()
     elapsed_time += time.process_time() - t