fig: use timetable attribute in other plots

This commit is contained in:
Rodrigo Arias 2021-02-03 13:02:18 +01:00
parent 9c6b7a9f87
commit b65a442cb0

View File

@ -12,56 +12,33 @@ let
exp = garlic.exp; exp = garlic.exp;
pp = garlic.pp; pp = garlic.pp;
rPlotExp = rScript: exp: rPlot { script = rScript; dataset = exp; }; exptt = exlist: map (e: e.timetable) exlist;
rPlotExp = rScript: exp: rPlot {
script = rScript;
dataset = pp.mergeDatasets (exptt exp);
};
in in
{ {
nbody = with exp.nbody; { nbody = with exp.nbody; {
baseline = rPlot { baseline = rPlotExp ./nbody/baseline.R [ baseline ];
script = ./nbody/baseline.R; small = rPlotExp ./nbody/baseline.R [ small ];
dataset = ds.nbody.baseline; jemalloc = rPlotExp ./nbody/jemalloc.R [ baseline jemalloc ];
}; ctf = rPlotExp ./nbody/baseline.R [ ctf ];
small = rPlotExp ./nbody/baseline.R small.timetable;
jemalloc = rPlot {
script = ./nbody/jemalloc.R;
dataset = ds.nbody.jemalloc;
};
#freeCpu = rPlot {
# script = ./nbody/freeCpu.R;
# dataset = ds.nbody.freeCpu;
#};
ctf = rPlot {
script = ./nbody/baseline.R;
dataset = ds.nbody.ctf;
};
}; };
hpcg = { hpcg = with exp.hpcg; {
oss = with ds.hpcg; rPlot { oss = rPlotExp ./hpcg/oss.R [ oss ];
script = ./hpcg/oss.R;
dataset = oss;
};
}; };
saiph = { saiph = with exp.saiph; {
granularity = with ds.saiph; rPlot { granularity = rPlotExp ./saiph/granularity.R [ granularity ];
script = ./saiph/granularity.R;
dataset = granularity;
};
}; };
heat = { heat = with exp.heat; {
test = with ds.heat; rPlot { test = rPlotExp ./heat/test.R [ test ];
script = ./heat/test.R;
dataset = test;
};
}; };
creams = { creams = with exp.creams; {
ss = with ds.creams; rPlot { ss = rPlotExp ./creams/ss.R [ ss.hybrid ss.pure ];
script = ./creams/ss.R;
dataset = ss.all;
};
}; };
} }