Skip to content
Snippets Groups Projects
Commit f80b683a authored by Yan He's avatar Yan He
Browse files

untested graph_1

parent e1ade204
No related branches found
No related tags found
No related merge requests found
......@@ -69,7 +69,7 @@ def recv_from_client(conn):
# draw the bandwith
def graph_bandwith():
def graph_bandwidth():
last = int(timestamp_and_receiveAmount_list[-1][0])
start = int(timestamp_and_receiveAmount_list[0][0])
......@@ -106,7 +106,7 @@ def graph_delay():
last = int(timestamp_and_receiveAmount_list[-1][0])
start = int(timestamp_and_receiveAmount_list[0][0])
num = (last-start)/60+1
num = int((last-start))/60+1
moment = [0 for i in range(num)]
delays = [[] for i in range(num)]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment