summaryrefslogtreecommitdiff
path: root/code/perflow
diff options
context:
space:
mode:
authorKumar Damani <kumar.damani@mail.utoronto.ca>2018-11-22 05:28:51 +0000
committerKumar Damani <kumar.damani@mail.utoronto.ca>2018-11-22 05:28:51 +0000
commit145b0bfc405968a9e43f65a0f81dda32d6dacdc4 (patch)
treeb90507337ae0840c7f14fd352db2d72c1f7a7a68 /code/perflow
parenta4dee6254663b66e990464ca998fd1e2a1c7964b (diff)
added interall plot
Diffstat (limited to 'code/perflow')
-rw-r--r--code/perflow/flow_interarrival.R8
1 files changed, 8 insertions, 0 deletions
diff --git a/code/perflow/flow_interarrival.R b/code/perflow/flow_interarrival.R
new file mode 100644
index 0000000..5ef69ba
--- /dev/null
+++ b/code/perflow/flow_interarrival.R
@@ -0,0 +1,8 @@
+tcp_times = read.csv(file="../../data/perpacket/tcp_arrivel_time.csv", header=TRUE, sep=",")
+
+tcp_times_cdf = ecdf(tcp_times$time)
+
+plot(tcp_times_cdf, col="black", main="CDF of TCP inter-arrival time of TCP flows", xlab="time (s)", ylab="probability")
+dev.print(png, '../../plots/perflow/interarrival.png', width=500)
+
+#quit()