panel_compare_tree | R Documentation |
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.
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
)
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 |
A ggplot object
## Not run:
panel_compare_tree(data1, data2, step = 100)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.