X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/Cipher_code.git/blobdiff_plain/a4957665caebd182ca258c1638c94a20a62ce35b..db082c49480d86a681b6e4d199cafd2ece980293:/measure_energy_iot/client_tcp4.py?ds=sidebyside diff --git a/measure_energy_iot/client_tcp4.py b/measure_energy_iot/client_tcp4.py index b163376..542a7ae 100644 --- a/measure_energy_iot/client_tcp4.py +++ b/measure_energy_iot/client_tcp4.py @@ -75,7 +75,7 @@ for i in range(nb_times): im2.save(buf, "JPEG", quality=quality) elapsed_time += time.time() - t -print("compute scale jpg ",elapsed_time/nb_times, " / size of file ",Path('lena3.jpg').stat().st_size) +print("compute scale 4 jpg ",elapsed_time/nb_times, " / size of file ",Path('lena3.jpg').stat().st_size) @@ -132,5 +132,5 @@ with s: sbuf.put_bytes(f.read()) # print('File Sent') elapsed_time += time.time() - t - print("send scale jpg ",elapsed_time/nb_times) + print("send scale 4 jpg ",elapsed_time/nb_times)