From 42cb6e2b446a2879cf9bf2f4642f926c15584cb3 Mon Sep 17 00:00:00 2001 From: Douglas Rumbaugh Date: Wed, 17 Sep 2025 18:27:56 -0400 Subject: Beginnings of per-level cost modeling The total time required for each shard construction is now measured, and hooks have been added to InternalLevel to support the creation and use of per-level cost models. The appropriate calls to these functions are now made during reconstruction, but the scheduling process doesn't yet call them, nor are the models actually implemented. --- include/framework/structure/InternalLevel.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'include/framework/structure/InternalLevel.h') diff --git a/include/framework/structure/InternalLevel.h b/include/framework/structure/InternalLevel.h index 54b3ae2..1dee359 100644 --- a/include/framework/structure/InternalLevel.h +++ b/include/framework/structure/InternalLevel.h @@ -233,6 +233,14 @@ public: } } + long predict_reconstruction_time(size_t reccnt) { + return 0; + } + + void update_reconstruction_model(reconstruction_results &recon) { + + } + private: ssize_t m_level_no; std::vector m_shards; -- cgit v1.2.3