Graphic client.c and server.c time code execution created
This commit is contained in:
parent
1a21254333
commit
eb2896a210
Binary file not shown.
|
After Width: | Height: | Size: 33 KiB |
|
|
@ -0,0 +1,12 @@
|
||||||
|
import matplotlib.pyplot as plt
|
||||||
|
|
||||||
|
categorias = ["0,064KB","0,128KB","0,256KB","0,512KB","1KB","2KB","4KB","8KB"]
|
||||||
|
valores = [0.13,0.11,0.13,0.12,0.13,0.13,0.13,0.14]
|
||||||
|
|
||||||
|
plt.bar(categorias, valores, color='purple', width=0.8)
|
||||||
|
|
||||||
|
plt.xlabel('Tamanho do buffer em (KB)')
|
||||||
|
plt.ylabel('Tempo de execução em (ms)')
|
||||||
|
plt.title('Transmissão de Buffers entre Cliente e Servidor via Conexão por Socket')
|
||||||
|
|
||||||
|
plt.show()
|
||||||
4
makefile
4
makefile
|
|
@ -11,8 +11,8 @@ clean:
|
||||||
|
|
||||||
run_client:
|
run_client:
|
||||||
@$(CC) client.c -o client
|
@$(CC) client.c -o client
|
||||||
@./client $(buffer_size)&
|
@./client $(buffer_size)
|
||||||
|
|
||||||
run_server:
|
run_server:
|
||||||
@$(CC) server.c -o server
|
@$(CC) server.c -o server
|
||||||
@./server $(buffer_size)&
|
@./server $(buffer_size)
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
matplotlib
|
||||||
Loading…
Reference in New Issue