45.4 SUTSection

An SUT Section is an array of 32 bit utilisations, taking up a full segment.


class SUTSection : public SegmentBase
{
public:
	SUTSection(LSS& lss, SegId segid);
    int* GetBuffer() { return reinterpret_cast<int*>(buffer_); }
    const int* GetBuffer() const { return reinterpret_cast<const int*>(buffer_); }
    int GetUtilisation_X(int i) const { return reinterpret_cast<const int*>(buffer_)[i]; }
    void SetUtilisation_X(int i, int u) { isDirty_ = true; reinterpret_cast<int*>(buffer_)[i] = u; }

private:
    bool isDirty_;
};