diff options
| author | Douglas Rumbaugh <dbr4@psu.edu> | 2025-09-17 18:27:56 -0400 |
|---|---|---|
| committer | Douglas Rumbaugh <dbr4@psu.edu> | 2025-09-17 18:27:56 -0400 |
| commit | 42cb6e2b446a2879cf9bf2f4642f926c15584cb3 (patch) | |
| tree | 2ae610890630bcb75c0df9335a8735385f11a069 /include/framework/DynamicExtension.h | |
| parent | 79dcefa5002f6411e05169a226ae9e3cd1114bd7 (diff) | |
| download | dynamic-extension-42cb6e2b446a2879cf9bf2f4642f926c15584cb3.tar.gz | |
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.
Diffstat (limited to 'include/framework/DynamicExtension.h')
| -rw-r--r-- | include/framework/DynamicExtension.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/framework/DynamicExtension.h b/include/framework/DynamicExtension.h index 48e270d..5917475 100644 --- a/include/framework/DynamicExtension.h +++ b/include/framework/DynamicExtension.h @@ -604,10 +604,8 @@ private: /* apply our updates to the copied structure (adding/removing shards) */ for (auto recon : reconstructions) { - auto grow = args->version->get_mutable_structure()->append_shard( - recon.new_shard, args->version->get_id(), recon.target_level); - args->version->get_mutable_structure()->delete_shards( - recon.source_shards); + auto grow = args->version->get_mutable_structure()->apply_reconstruction( + recon, args->version->get_id()); if (grow) { extension->m_lock_mngr.add_lock(); } |