#include <stm/config.h>
#include <stdint.h>
#include <iostream>
Go to the source code of this file.
BENCHMARKS IMPLEMENT THE FOLLOWING FUNCTIONS
Step 3: Declare an instance of the data type, and provide init, test, and verify functions
Step 4: Include the code that has the main() function, and the code for creating threads and calling the three above-named functions. Don't forget to provide an arg reparser.
void bench_test |
( |
uintptr_t |
id, |
|
|
uint32_t * |
|
|
) |
| |
Run a bunch of transactions that should cause conflicts threads either increment from front to back or from back to front, based on ID. This creates lots of conflicts