summaryrefslogtreecommitdiff
path: root/code/perflow/flow_interarrival_all.R
blob: a10e7a20fd23fce4584a6ca8b840113fcaf5e9eb (plain)
1
2
3
4
5
6
7
8
9
10
all_times = read.csv(file="../../data/perflow/all_arrivel_time.csv", header=TRUE, sep=",")
udp_times = read.csv(file="../../data/perflow/udp_arrivel_time.csv", header=TRUE, sep=",")

all_cdf = ecdf(all_times$time)
udp_cdf = ecdf(udp_times$time)

plot(all_cdf, col="red", main="CDF of inter-arrival times of ALL flows", xlab="time (s)", ylab="probability", xlim=c(0,0.1), ylim=c(0,1))
dev.print(png, '../../plots/perflow/interarrival_all.png', width=500)

#quit()