summaryrefslogtreecommitdiffstats
path: root/include/util
diff options
context:
space:
mode:
authorDouglas Rumbaugh <dbr4@psu.edu>2025-09-17 18:27:56 -0400
committerDouglas Rumbaugh <dbr4@psu.edu>2025-09-17 18:27:56 -0400
commit42cb6e2b446a2879cf9bf2f4642f926c15584cb3 (patch)
tree2ae610890630bcb75c0df9335a8735385f11a069 /include/util
parent79dcefa5002f6411e05169a226ae9e3cd1114bd7 (diff)
downloaddynamic-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/util')
-rw-r--r--include/util/types.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/util/types.h b/include/util/types.h
index 88774f5..64dc773 100644
--- a/include/util/types.h
+++ b/include/util/types.h
@@ -88,6 +88,9 @@ struct reconstruction_results {
std::shared_ptr<ShardType> new_shard;
std::vector<std::pair<level_index, const ShardType *>> source_shards;
size_t target_level;
+ size_t reccnt;
+ long runtime;
+
};
typedef struct ReconstructionTask {