From ef55eb5c3e478bae54405d29f99eac05a50c8a5a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Couturier?= Date: Fri, 9 Jul 2021 22:04:03 +0200 Subject: [PATCH 1/1] new --- measure_energy_iot/image_compression.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.5