Function sequant::eval::peak_profile_sweep¶
Defined in File peak_profile.hpp
Function Documentation¶
-
inline PeakProfile sequant::eval::peak_profile_sweep(Schedule const &s)¶
Sweep the per-cell liveness intervals of
sto find the peak live footprint, the lowest static point achieving it, and the set of cells live there.A textbook +delta/-delta interval-event sweep: each cell deposits +footprint at
first_useand -footprint just pastlast_use, then a single left-to-right prefix scan tracks the running live total. The strict>comparison keeps the first (lowest) point among equal-height maxima.