core/place: --draft-expert-placement host and --expert-profile/--expert-pin-top (decode-hot residency)

This commit is contained in:
baKon authored and StillDeadcode committed 2026-10-28 12:40:47 +01:00
1 parent 9f707a0f67
commit 6b544e0d39
11 files changed
+566 -10

No files matched your search

+7
View File
@@ -210,4 +210,11 @@ private:
std::mutex file_mu_; /* one write at a time */
};
/* --expert-profile FILE: the planner's ranking, from a radiance-expert-stats JSON's `decode`
* counts. One entry per (layer, expert) with a positive count, its share that count over the
* layer's decode selections, so a layer's hottest expert ranks above another layer's merely busy
* one. `n_trunk` is the file's trunk layer count, or -1 where it names none. Returns RAD_E_IO on a
* missing or unreadable file and RAD_E_INVAL on one that is not this format. */
int xs_profile_load(const std::string& path, std::vector<RadFileProfile>* out, int32_t* n_trunk);
} /* namespace rad */