panel_compare_tree {starvz} | R Documentation |
Combine two atree plots to compare two different executions
Description
Use starvz_data Application and Atree to create a plot that shows the total resource utilization, painted by tree node using geom_ribbon. The colors are reused between nodes, not tied to a specific tree node.
Usage
panel_compare_tree(
data1 = NULL,
data2 = NULL,
step = data1$config$utiltreenode$step,
x_start = data1$config$limits$start,
x_end = data1$config$limits$end,
performance_metric = "Time",
add_diff_line = FALSE,
add_end_line = FALSE
)
Arguments
data1 |
starvz_data with trace data |
data2 |
starvz_data with trace data |
step |
size in milliseconds for the time aggregation step |
x_start |
X-axis start value |
x_end |
X-axis end value |
performance_metric |
which metric to represent ["time", "gflops"] |
add_diff_line |
add the computed gflops difference line |
add_end_line |
add smaller end time vertical line |
Value
A ggplot object
Examples
## Not run:
panel_compare_tree(data1, data2, step = 100)
## End(Not run)
[Package starvz version 0.8.0 Index]