How schnorr/starvz works
StarVZ is an R-based performance-analysis framework for task-based StarPU applications. Its documented user workflow converts FxT experiment data through Phase 1, reads the resulting data in R, and produces ggplot visualizations in Phase 2. The package also documents analysis capabilities for task DAGs, MPI, memory, resource imbalance, and performance metrics. Source excerpts show native helpers for DAG paths, resource separation, and time integration, plus a CSV splitter; unsampled R internals and their detailed call relationships are not inferred here.
Main entry points: phase1-workflow.R Phase 1 conversion · RcppExports.cpp Native registration · read_functions.R Data reader · phase2.R Plot interface
Components 22
Workflow
- Phase 1 conversion
inst/tools/phase1-workflow.R - PAJE CSV splitter
inst/tools/starvz_csv.c - Phase 2 workflow
inst/tools/phase2-workflow.R - Data reader
R/read_functions.R - StarVZ data
R/starvz_data.R
Analysis
- Analysis interface
R/phase1.R - DAG analysis
R/phase2_atree.R - Performance metrics
R/phase2_metrics.R - MPI analysis
R/phase2_mpi.R - Memory analysis
R/phase2_memory.R - Imbalance analysis
R/phase2_imbalance.R
Visualization
- Plot interface
R/phase2.R - Visualization panels
R/phase2_var_panels.R - Plot themes
R/phase2_themes.R
Native helpers
- Native registration
src/RcppExports.cpp - Last-task paths
src/last.cpp - DAG shortest path
src/shortest_path.cpp - Resource separation
src/separate_res.cpp - Step integration
src/integrate_step.cpp
Other components
- Analyst
- FxT traces
- Trace tools
Connections 13
- Analyst → Phase 1 conversion: starts workflow
README.org - FxT traces → Phase 1 conversion: provides traces
README.org - Phase 1 conversion → Trace tools: uses tools
README.org - Phase 1 conversion → Phase 2 workflow: hands off
README.org - Analyst → Data reader: loads data
README.org - Data reader → StarVZ data: returns data
README.org - Analyst → Plot interface: requests plot
README.org - Plot interface → Analyst: returns ggplot
README.org - Phase 1 conversion → PAJE CSV splitter: splits records
- Native registration → Last-task paths: registers calls
src/RcppExports.cpp - Native registration → DAG shortest path: registers calls
src/RcppExports.cpp - Native registration → Resource separation: registers calls
src/RcppExports.cpp - Native registration → Step integration: registers calls
src/RcppExports.cpp