summaryrefslogtreecommitdiff
path: root/code/perflow/flow_interarrival_tcp.R
blob: fdc09a62a30011cb322754afd12155fba5bab653 (plain)
1
2
3
4
5
6
7
8
tcp_times = read.csv(file="../../data/perflow/tcp_arrivel_time.csv", header=TRUE, sep=",")

tcp_cdf = ecdf(tcp_times$time)

plot(tcp_cdf, col="blue", main="CDF of inter-arrival times of TCP flows", xlab="time (s)", ylab="probability", xlim=c(0,0.002), ylim=c(0,1))
dev.print(png, '../../plots/perflow/interarrival_tcp.png', width=500)

#quit()