|
@ -53,7 +53,7 @@ void scan_b(size_t gid, size_t tid) { |
|
|
if constexpr (PERFORM_CACHING) { |
|
|
if constexpr (PERFORM_CACHING) { |
|
|
for (size_t i = 0; i < RUN_COUNT; i++) { |
|
|
for (size_t i = 0; i < RUN_COUNT; i++) { |
|
|
const size_t chunk_index = get_chunk_index(gid, i); |
|
|
const size_t chunk_index = get_chunk_index(gid, i); |
|
|
uint64_t* chunk_ptr = get_chunk<TC_SCANB>(DATA_B_, chunk_index, i); |
|
|
|
|
|
|
|
|
uint64_t* chunk_ptr = get_chunk<TC_SCANB>(DATA_B_, chunk_index, tid); |
|
|
|
|
|
|
|
|
for (size_t j = 0; j < SUBCHUNK_COUNT; j++) { |
|
|
for (size_t j = 0; j < SUBCHUNK_COUNT; j++) { |
|
|
uint64_t* sub_chunk_ptr = &chunk_ptr[j * SUBCHUNK_SIZE_ELEMENTS]; |
|
|
uint64_t* sub_chunk_ptr = &chunk_ptr[j * SUBCHUNK_SIZE_ELEMENTS]; |
|
@ -261,7 +261,7 @@ int main() { |
|
|
fout |
|
|
fout |
|
|
<< i - WARMUP_ITERATION_COUNT << ";" |
|
|
<< i - WARMUP_ITERATION_COUNT << ";" |
|
|
<< nanos << ";" << seconds << ";" |
|
|
<< nanos << ";" << seconds << ";" |
|
|
<< DATA_DST_[0] << ";" |
|
|
|
|
|
|
|
|
<< result_actual << ";" |
|
|
<< scana_run << ";" << scana_wait << ";" << scanb_run << ";" << scanb_wait << ";" << aggrj_run << ";" << aggrj_wait << ";" |
|
|
<< scana_run << ";" << scana_wait << ";" << scanb_run << ";" << scanb_wait << ";" << aggrj_run << ";" << aggrj_wait << ";" |
|
|
<< process_cache_hitrate() << ";" |
|
|
<< process_cache_hitrate() << ";" |
|
|
<< std::endl; |
|
|
<< std::endl; |
|
|