panel_atree {starvz}R Documentation

Create the elimination tree plot with some options in the config file

Description

Use starvz_data to create a representation of the elimination tree structure considering initialization, communication, and computational tasks. These representations can be controlled in the configuration file.

Usage

panel_atree(
  data = NULL,
  step = data$config$atree$step,
  legend = data$config$atree$legend,
  zoom = FALSE,
  computation = data$config$atree$computation$active,
  pruned = data$config$atree$computation$pruned$active,
  initialization = data$config$atree$initialization$active,
  x_start = data$config$limits$start,
  x_end = data$config$limits$end,
  communication = data$config$atree$communication$active,
  anomalies = data$config$atree$anomalies$active,
  performance_metric = "time",
  level = 0,
  end_arrow = "ParentEnd"
)

Arguments

data

starvz_data with trace data

step

size in milliseconds for the time aggregation step

legend

enable/disable panel legend

zoom

enable/disable vertical zoom in the tree structure

computation

enable/disable computations representations in the tree

pruned

enable/disable pruned computations representations in the tree

initialization

enable/disable initialization tasks representation

x_start

X-axis start value

x_end

X-axis end value

communication

enable/disable communication tasks representation

anomalies

enable/disable anomalies tasks representation

performance_metric

which metric to represent ["time", "gflops"]

level

draw a dashed line to divide the tree at the level h

end_arrow

behavior of the end arrow [ParentEnd, ComputationEnd]

Value

A ggplot object

Examples

## Not run: 
panel_atree(starvz_sample_lu, step = 10)
panel_atree(starvz_sample_lu,
  step = 20,
  communication = FALSE, initialization = FALSE
)

## End(Not run)

[Package starvz version 0.8.0 Index]