arma-thesis

git clone https://git.igankevich.com/arma-thesis.git
Log | Files | Refs | LICENSE

commit 0a6868926667246c993919fc6c743f0511e570f9
parent 52032429f4bb06b854906a5f066bd7731d14eb0e
Author: Ivan Gankevich <igankevich@ya.ru>
Date:   Wed, 15 Nov 2017 15:30:34 +0300

Prettify event graph.

Diffstat:
R/benchmarks.R | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/R/benchmarks.R b/R/benchmarks.R @@ -149,10 +149,10 @@ arma.plot_io_events <- function (names) { ev <- table[row,] ys <- rep(ev$thread_no, 2) xs <- c(ev$t0, ev$t1)/1000/1000 - # points(xs[[1]], ys[[1]], pch=19, cex=0.4) - # arrows(xs[[1]], ys[[1]], xs[[2]], ys[[2]], angle=10, length=0.05) - #lines(xs, ys, lwd=3, col=c$color) - points(xs, ys, col=c$color) + #points(xs[[1]], ys[[1]], pch=19, cex=0.4) + #arrows(xs[[1]], ys[[1]], xs[[2]], ys[[2]], angle=10, length=0.05) + lines(xs, ys, lwd=1, col=c$color) + points(xs, ys, col=c$color, cex=0.4) } } axis(1, at=pretty(c(0,max_x)))