__version__
PythonAPI tier: stable
__version__ = '0.1.6'API tier: stable
The entry points of the heliaPROFILER Python API: one call, one session, and the progress stream they report through.
Every name on this page is imported from helia_profiler.
API tier: stable
Generated from the src/helia_profiler tree fe269596788d6ab1604cf433559e96b5f48c1d13.
Re-exports
| Name | Source |
|---|---|
| ProfileConfig | helia_profiler.ProfileConfig |
| ModelConfig | helia_profiler.ModelConfig |
| EngineConfig | helia_profiler.EngineConfig |
| TargetConfig | helia_profiler.TargetConfig |
| ProfilingConfig | helia_profiler.ProfilingConfig |
| OutputConfig | helia_profiler.OutputConfig |
| BuildConfig | helia_profiler.BuildConfig |
| HeartbeatConfig | helia_profiler.HeartbeatConfig |
| TimeoutsConfig | helia_profiler.TimeoutsConfig |
| ClockSelection | helia_profiler.ClockSelection |
| OutputFormat | helia_profiler.OutputFormat |
| PowerConfig | helia_profiler.PowerConfig |
| EngineType | helia_profiler.EngineType |
| Toolchain | helia_profiler.Toolchain |
| Transport | helia_profiler.Transport |
| Placement | helia_profiler.Placement |
| ResetStrategy | helia_profiler.ResetStrategy |
| CompatibilityBaseline | helia_profiler.CompatibilityBaseline |
| CompatibilityResolution | helia_profiler.CompatibilityResolution |
| QualificationState | helia_profiler.QualificationState |
| load_compatibility_baseline | helia_profiler.load_compatibility_baseline |
| DependencyLockProvenance | helia_profiler.DependencyLockProvenance |
| read_dependency_lock_provenance | helia_profiler.read_dependency_lock_provenance |
| qualification | helia_profiler.qualification |
| Qualification | helia_profiler.Qualification |
| RuntimeQualification | helia_profiler.RuntimeQualification |
| runtimes | helia_profiler.runtimes |
| RuntimeRecord | helia_profiler.RuntimeRecord |
| RuntimeSource | helia_profiler.RuntimeSource |
| QualifiedTarget | helia_profiler.QualifiedTarget |
| ProfileResult | helia_profiler.ProfileResult |
| PmuResult | helia_profiler.PmuResult |
| PresetResult | helia_profiler.PresetResult |
| LayerResult | helia_profiler.LayerResult |
| FirmwareMeta | helia_profiler.FirmwareMeta |
| RunMetadata | helia_profiler.RunMetadata |
| ResultManifest | helia_profiler.ResultManifest |
| ResultArtifact | helia_profiler.ResultArtifact |
| ResultIssue | helia_profiler.ResultIssue |
| ResultValidity | helia_profiler.ResultValidity |
| RunStatus | helia_profiler.RunStatus |
| load_result_manifest | helia_profiler.load_result_manifest |
| PowerMode | helia_profiler.PowerMode |
| PowerResult | helia_profiler.PowerResult |
| PowerObservation | helia_profiler.PowerObservation |
| PowerTerminalRecord | helia_profiler.PowerTerminalRecord |
| OnDevicePowerSummary | helia_profiler.OnDevicePowerSummary |
| PowerMetadata | helia_profiler.PowerMetadata |
| MeasurementScope | helia_profiler.MeasurementScope |
| ObservationMode | helia_profiler.ObservationMode |
| PowerIntegrity | helia_profiler.PowerIntegrity |
| CompareResult | helia_profiler.CompareResult |
| assess_comparability | helia_profiler.assess_comparability |
| ComparabilityAssessment | helia_profiler.ComparabilityAssessment |
| ComparabilityIssue | helia_profiler.ComparabilityIssue |
| ComparabilitySeverity | helia_profiler.ComparabilitySeverity |
| ComparisonProfile | helia_profiler.ComparisonProfile |
| evaluate_comparison_profile | helia_profiler.evaluate_comparison_profile |
| ComparisonVerdict | helia_profiler.ComparisonVerdict |
| MetricPolicy | helia_profiler.MetricPolicy |
| MetricDirection | helia_profiler.MetricDirection |
| MetricVerdict | helia_profiler.MetricVerdict |
| MissingMetricPolicy | helia_profiler.MissingMetricPolicy |
| VerdictStatus | helia_profiler.VerdictStatus |
| evaluate_run | helia_profiler.evaluate_run |
| RunEvaluation | helia_profiler.RunEvaluation |
| ModelAnalysis | helia_profiler.ModelAnalysis |
| SupportBundleOptions | helia_profiler.SupportBundleOptions |
| collect_support_bundle | helia_profiler.collect_support_bundle |
| write_support_bundle | helia_profiler.write_support_bundle |
| verify_support_bundle | helia_profiler.verify_support_bundle |
| SupportBundleManifest | helia_profiler.SupportBundleManifest |
| SupportBundleSection | helia_profiler.SupportBundleSection |
| HpxError | helia_profiler.HpxError |
| ConfigError | helia_profiler.ConfigError |
| PlatformError | helia_profiler.PlatformError |
| EngineError | helia_profiler.EngineError |
| FirmwareError | helia_profiler.FirmwareError |
| BuildError | helia_profiler.BuildError |
| DependencyError | helia_profiler.DependencyError |
| VersionError | helia_profiler.VersionError |
| LockError | helia_profiler.LockError |
| NetworkError | helia_profiler.NetworkError |
| CaptureError | helia_profiler.CaptureError |
| DeterministicCaptureError | helia_profiler.DeterministicCaptureError |
| PowerError | helia_profiler.PowerError |
| ReportError | helia_profiler.ReportError |
__version__attributeAPI tier: stableprofilefunctionRun a full profiling session.ProgressUpdateclassUser-meaningful progress within a pipeline stage.SessionclassImmutable, branchable configuration for interactive HPX operations.API tier: stable
__version__ = '0.1.6'API tier: stable
Run a full profiling session.
profile(config: ProfileConfig, *, progress_sink: ProgressSink | None = None) -> ProfileResultRun a full profiling session.
This is the main programmatic entry point. It builds the default pipeline,
executes all stages, and returns a typed :class:ProfileResult.
Raises :class:HpxError (or a subclass) on failure.
API tier: stable
User-meaningful progress within a pipeline stage.
ProgressUpdate( message: str, kind: Literal['status', 'checkpoint'] = 'status', completed: int | None = None, total: int | None = None, unit: str | None = None, eta_s: float | None = None, min_verbosity: int = 0,) -> Nonedataclass
User-meaningful progress within a pipeline stage.
API tier: stable
message: strkind: Literal['status', 'checkpoint'] = 'status'completed: int | None = Nonetotal: int | None = Noneunit: str | None = Noneeta_s: float | None = Nonemin_verbosity: int = 0Immutable, branchable configuration for interactive HPX operations.
Session( yaml_path: Path | None = None, _base: Mapping[str, Any] = lambda : ...(), _overrides: Mapping[str, Any] = lambda : ...(),) -> Nonedataclass
Immutable, branchable configuration for interactive HPX operations.
Sessions retain unresolved configuration overrides so YAML values and
board-derived defaults are resolved by the same validation path as the
CLI. Every with_* method returns an independent session.
API tier: stable
yaml_path: Path | None = NoneCreate a session from an immutable snapshot of an HPX YAML config.
from_yaml(path: str | Path) -> Selfclassmethod
Create a session from an immutable snapshot of an HPX YAML config.
Create a session from unresolved configuration intent.
from_dict(intent: Mapping[str, Any]) -> Selfclassmethod
Create a session from unresolved configuration intent.
Load a versioned unresolved-intent snapshot from JSON.
load(path: str | Path) -> Selfclassmethod
Load a versioned unresolved-intent snapshot from JSON.
Return JSON-safe unresolved intent without expanding defaults.
intent_dict() -> dict[str, Any]Return JSON-safe unresolved intent without expanding defaults.
Return the fully resolved and validated configuration snapshot.
resolved_dict(model: str | Path | None = None) -> dict[str, Any]Return the fully resolved and validated configuration snapshot.
Persist unresolved intent as a versioned JSON snapshot.
save(path: str | Path) -> PathPersist unresolved intent as a versioned JSON snapshot.
Return a session with advanced raw configuration overrides merged in.
with_overrides(overrides: Mapping[str, Any]) -> SelfReturn a session with advanced raw configuration overrides merged in.
with_model(path: str | Path, **options: Any = {}) -> Selfwith_engine(engine: Any, **options: Any = {}) -> Selfwith_target(**options: Any = {}) -> Selfwith_profiling(**options: Any = {}) -> Selfwith_power(**options: Any = {}) -> Selfwith_output(**options: Any = {}) -> Selfwith_build(**options: Any = {}) -> Selfwith_timeouts(**options: Any = {}) -> SelfReturn a session with top-level run options.
with_options( *, verbose: int | None = None, frozen: bool | None = None, work_dir: str | Path | None = None, clean: bool | None = None,) -> SelfReturn a session with top-level run options.
Resolve and validate this session as a complete profile config.
resolve(model: str | Path | None = None) -> ProfileConfigResolve and validate this session as a complete profile config.
Run a profile using this session's resolved configuration.
profile( model: str | Path | None = None, *, progress_sink: Callable[[ProgressUpdate], None] | None = None,) -> ProfileResultRun a profile using this session’s resolved configuration.
Analyze the configured model without building or flashing firmware.
analyze(model: str | Path | None = None) -> ModelAnalysisAnalyze the configured model without building or flashing firmware.
Compare two completed profiles and optionally write diff artifacts.
compare( baseline: str | Path | ProfileResult, candidate: str | Path | ProfileResult, *, output_dir: str | Path | None = None, profile: str | Path | ComparisonProfile | None = None,) -> CompareResultCompare two completed profiles and optionally write diff artifacts.
Return structured host dependency checks.
doctor(*, include_versions: bool = False) -> DoctorResultReturn structured host dependency checks.
Set include_versions to also compare installed tool and package versions against the HPX compatibility baseline.
Pretty-print a typed interactive value and return it unchanged.
show(value: Any, *, console: Console | None = None) -> AnyPretty-print a typed interactive value and return it unchanged.
Return boards visible to this session's platform registry.
boards() -> tuple[BoardDef, ...]Return boards visible to this session’s platform registry.
Return supported inference engine identifiers.
engines() -> tuple[EngineType, ...]Return supported inference engine identifiers.
Return registered PMU counter group names.
counter_groups() -> tuple[str, ...]Return registered PMU counter group names.
Return registered PMU counters, optionally filtered by group.
counters(group: str | None = None) -> tuple[PmuCounter, ...]Return registered PMU counters, optionally filtered by group.
Return connected J-Link probes.
probes() -> tuple[JLinkProbe, ...]Return connected J-Link probes.
Inspect the target core visible through each connected probe.
inspect_probes(board: str | None = None) -> tuple[JLinkProbeMatch, ...]Inspect the target core visible through each connected probe.
Resolve the J-Link serial matching a board target.
match_probe(board: str | None = None, *, serial: str | None = None) -> strResolve the J-Link serial matching a board target.
Return host serial ports relevant to HPX transports.
ports(*, include_all: bool = False) -> tuple[SerialPortInfo, ...]Return host serial ports relevant to HPX transports.
Reset the configured target through its J-Link probe.
reset(board: str | None = None, *, serial: str | None = None, kind: Literal['debug', 'swpoi'] = 'debug') -> NoneReset the configured target through its J-Link probe.
Machine-readable: helia_profiler.json · helia_profiler.md, complete and lossless.