Skip to content

Freeze Configuration to Avoid Timing Errors for Configurations #1268

@michael-schwarz

Description

@michael-schwarz

To prevent issues where the autotuner is run too late etc (c.f. #1265), we should devide the modification of the config into two phase: Config building and analysis:

  • Functions during building (get_build, set_build: The implementer needs to ensure correct order)
  • freeze
  • Functions during analysis (get_analysis)

If a call happens in the wrong phase, the analyzer should crash, making it easier to hunt-down such issues instead of having to deal with cases where settings seemingly are not applied.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions