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