X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/Cipher_code.git/blobdiff_plain/1675b71b9488fd8b62558d9af2e30b4f9d150849..ef55eb5c3e478bae54405d29f99eac05a50c8a5a:/measure_energy_iot/image_compression.py?ds=sidebyside 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