View source: R/phase2_imbalance.R
panel_power_imbalance | R Documentation |
This function creates a line chart with imbalance metrics. The function applies the metrics on fixed time-steps defined by the user. The metrics consider that the resources are heterogeneous and defined by a constant power factor. For the effects of this function, one task is select for computing the relative power between resources.
panel_power_imbalance(
data,
legend = data$config$power_imbalance$legend,
base_size = data$config$base_size,
expand_x = data$config$expand,
x_start = data$config$limits$start,
x_end = data$config$limits$end,
y_start = 0,
y_end = data$config$power_imbalance$limit,
step = data$config$power_imbalance$step,
task = data$config$power_imbalance$task
)
data |
starvz_data with trace data |
legend |
enable/disable legends |
base_size |
base_size base font size |
expand_x |
expand size for scale_x_continuous padding |
x_start |
X-axis start value |
x_end |
X-axis end value |
y_start |
Y-axis start value |
y_end |
Y-axis end value |
step |
time step for aggregation |
task |
Task used to computer relative resource power. |
A ggplot object
panel_power_imbalance(data = starvz_sample_lu)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.