tlds
Transactional Operations for Linked Data Structures
|
#include <stm/config.h>
#include <iostream>
#include <alt-license/rand_r_32.h>
#include <api/api.hpp>
#include "bmconfig.hpp"
#include "Disjoint.hpp"
Functions | |
void | bench_init () |
void | bench_test (uintptr_t id, uint32_t *seed) |
bool | bench_verify () |
void | bench_reparse () |
Variables | |
Disjoint * | SET |
void bench_init | ( | ) |
BENCHMARKS IMPLEMENT THE FOLLOWING FUNCTIONS
Step 3: Declare an instance of the data type, and provide init, test, and verify functions
void bench_reparse | ( | ) |
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 * | seed | ||
) |
bool bench_verify | ( | ) |
Disjoint* SET |
Step 3: Declare an instance of the data type, and provide init, test, and verify functions