64 is the typical cache line size
| 250 | |
| 251 | // 64 is the typical cache line size |
| 252 | struct alignas(64) ThreadData { |
| 253 | volatile uint32_t sink; |
| 254 | char padding[60]; // Ensures 64-byte alignment/padding |
| 255 | }; |
| 256 | |
| 257 | void mem_bench2_thread(uint32_t* data, size_t start_idx, size_t elements_per_thread, ThreadData* thread_sink) { |
| 258 | for (size_t i = start_idx; i < start_idx + elements_per_thread; i++) { |
nothing calls this directly
no outgoing calls
no test coverage detected