diff options
| author | Douglas Rumbaugh <dbr4@psu.edu> | 2023-09-18 12:25:01 -0400 |
|---|---|---|
| committer | Douglas Rumbaugh <dbr4@psu.edu> | 2023-09-18 12:25:01 -0400 |
| commit | 7f56949bc847b56da69c9eb3ebe081d6cf9f61c6 (patch) | |
| tree | dd70d81129b899b98b08c1ee7110765cc2b488b0 /include/framework/DynamicExtension.h | |
| parent | eb8dbaa770a57557d67c817c2839c64f536a6ce4 (diff) | |
| download | dynamic-extension-7f56949bc847b56da69c9eb3ebe081d6cf9f61c6.tar.gz | |
General bugfixes
Diffstat (limited to 'include/framework/DynamicExtension.h')
| -rw-r--r-- | include/framework/DynamicExtension.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/framework/DynamicExtension.h b/include/framework/DynamicExtension.h index 5e9bcee..08e2243 100644 --- a/include/framework/DynamicExtension.h +++ b/include/framework/DynamicExtension.h @@ -40,7 +40,10 @@ public: : m_scale_factor(scale_factor) , m_max_delete_prop(max_delete_prop) , m_sched(memory_budget, thread_cnt) - { } + { + m_buffers.push_back(new Buffer(buffer_cap, max_delete_prop*buffer_cap)); + m_versions.push_back(new Structure(buffer_cap, scale_factor, max_delete_prop)); + } ~DynamicExtension() { for (size_t i=0; i<m_buffers.size(); i++) { |