tlds
Transactional Operations for Linked Data Structures
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ForestBench.cpp File Reference
#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"
Include dependency graph for ForestBench.cpp:

Classes

struct  CustomForest
 

Functions

void bench_init ()
 
void bench_test (uintptr_t, uint32_t *seed)
 
bool bench_verify ()
 
void bench_reparse ()
 

Variables

CustomForestSET
 

Function Documentation

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 
)

Here is the call graph for this function:

bool bench_verify ( )

Here is the call graph for this function:

Variable Documentation

Step 3: Declare an instance of the data type, and provide init, test, and verify functions