diff options
| author | Douglas Rumbaugh <dbr4@psu.edu> | 2025-02-11 17:32:10 -0500 |
|---|---|---|
| committer | Douglas Rumbaugh <dbr4@psu.edu> | 2025-02-11 17:32:10 -0500 |
| commit | 85afe4ef04f327862460570fb0aa4c30afcf7cc7 (patch) | |
| tree | aba55db313b752df4ac073db117900e0128c22fb /include/framework/scheduling/statistics.h | |
| parent | c04efb2640421be7a24f851c08e290c89b7b46f2 (diff) | |
| download | dynamic-extension-85afe4ef04f327862460570fb0aa4c30afcf7cc7.tar.gz | |
Progress: began adding parallel merging and locking of levels
Diffstat (limited to 'include/framework/scheduling/statistics.h')
| -rw-r--r-- | include/framework/scheduling/statistics.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/framework/scheduling/statistics.h b/include/framework/scheduling/statistics.h index 48c186f..a6d66ab 100644 --- a/include/framework/scheduling/statistics.h +++ b/include/framework/scheduling/statistics.h @@ -52,7 +52,7 @@ public: /* FIXME: This is just a temporary approach */ void log_time_data(size_t length, size_t type) { - assert(type == 1 || type == 2); + assert(type == 1 || type == 2 || type == 3); if (type == 1) { m_type_1_cnt.fetch_add(1); @@ -61,7 +61,7 @@ public: if (length > m_type_1_largest_time) { m_type_1_largest_time.store(length); } - } else { + } else if (type == 2) { m_type_2_cnt.fetch_add(1); m_type_2_total_time.fetch_add(length); |