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/structure/InternalLevel.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/structure/InternalLevel.h')
| -rw-r--r-- | include/framework/structure/InternalLevel.h | 8 |
1 files changed, 8 insertions, 0 deletions
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<ShardType> &recon) { + + } + private: ssize_t m_level_no; std::vector<shard_ptr> m_shards; |