tlds
Transactional Operations for Linked Data Structures
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
DisjointBench.cpp File Reference
#include <stm/config.h>
#include <iostream>
#include <alt-license/rand_r_32.h>
#include <api/api.hpp>
#include "bmconfig.hpp"
#include "Disjoint.hpp"
Include dependency graph for DisjointBench.cpp:

Functions

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

Variables

DisjointSET
 

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

Here is the call graph for this function:

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 
)

Here is the call graph for this function:

bool bench_verify ( )

Variable Documentation

Disjoint* SET

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