From: Raphaƫl Couturier Date: Fri, 9 Jul 2021 20:04:03 +0000 (+0200) Subject: new X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/Cipher_code.git/commitdiff_plain/ef55eb5c3e478bae54405d29f99eac05a50c8a5a new --- diff --git a/measure_energy_iot/image_compression.py b/measure_energy_iot/image_compression.py index 6e99203..c33b8db 100644 --- a/measure_energy_iot/image_compression.py +++ b/measure_energy_iot/image_compression.py @@ -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