spack/lib/spack/spack/solver
John Gouwar 23ac56edfb
Times spec building and timing to public concretizer API (#47310)
This PR has two small contributions:
- It adds another phase to the timer for concrectization, "construct_specs", to actually see the time the concretizer spends interpreting the `clingo` output to build the Python object for a concretized spec. 
- It adds the method `Solver.solve_with_stats` to expose the timers that were already in the concretizer to the public solver API. `Solver.solve` just becomes a special case of `Solver.solve_with_stats` that throws away the timing output (which is what it was already doing).  

These changes will make it easier to benchmark concretizer performance and provide a more complete picture of the time spent in the concretizer by including the time spent interpreting clingo output.
2024-11-04 09:48:18 -08:00
..
__init__.py Update copyright year to 2024 (#41919) 2024-01-02 09:21:30 +01:00
asp.py Times spec building and timing to public concretizer API (#47310) 2024-11-04 09:48:18 -08:00
concretize.lp variants: Unify metadata dictionaries to index by when (#44425) 2024-09-17 09:59:05 -07:00
core.py Mixed-source cflags (#41049) 2024-09-06 10:37:33 -07:00
counter.py Add intel-oneapi-runtime, allow injecting virtual dependencies (#42062) 2024-03-24 22:59:21 -07:00
display.lp variants: Unify metadata dictionaries to index by when (#44425) 2024-09-17 09:59:05 -07:00
error_messages.lp variants: Unify metadata dictionaries to index by when (#44425) 2024-09-17 09:59:05 -07:00
heuristic.lp solver: use a new heuristic (#46548) 2024-09-23 23:44:47 -07:00
libc_compatibility.lp Ensure parent runtime version >= child (#44834) 2024-06-27 14:58:42 +02:00
os_compatibility.lp Add compatibility of sequoia with previous macOS versions (#45127) 2024-07-09 17:48:24 -07:00
version_order.py Fix a few circular deps (#46373) 2024-09-16 09:15:51 +02:00
when_possible.lp Update copyright year to 2024 (#41919) 2024-01-02 09:21:30 +01:00