summaryrefslogtreecommitdiffstats
path: root/include/framework/DynamicExtension.h
diff options
context:
space:
mode:
authorDouglas Rumbaugh <dbr4@psu.edu>2024-04-19 14:39:33 -0400
committerDouglas Rumbaugh <dbr4@psu.edu>2024-04-19 14:39:33 -0400
commit7c2f43ff039795576bc0014c367b893fbbaceca4 (patch)
tree00e01658128079a503e35f3df15298c9fc9a8bfa /include/framework/DynamicExtension.h
parentb34e90b0ca84b5506625930defac997c44bf37c0 (diff)
downloaddynamic-extension-7c2f43ff039795576bc0014c367b893fbbaceca4.tar.gz
Benchmark updates
Diffstat (limited to 'include/framework/DynamicExtension.h')
-rw-r--r--include/framework/DynamicExtension.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/framework/DynamicExtension.h b/include/framework/DynamicExtension.h
index 9e1b8fa..9d54777 100644
--- a/include/framework/DynamicExtension.h
+++ b/include/framework/DynamicExtension.h
@@ -204,6 +204,8 @@ public:
auto t = m_buffer->get_memory_usage() + epoch->get_structure()->get_memory_usage();
end_job(epoch);
+ fprintf(stderr, "total: %ld\n", t);
+
return t;
}
@@ -214,7 +216,7 @@ public:
*/
size_t get_aux_memory_usage() {
auto epoch = get_active_epoch();
- auto t = epoch->get_buffer().get_aux_memory_usage() + epoch->get_structure()->get_aux_memory_usage();
+ auto t = m_buffer->get_memory_usage() + epoch->get_structure()->get_aux_memory_usage();
end_job(epoch);
return t;