Copyright (C) 2011 University of Rochester Department of Computer Science and Lehigh University Department of Computer Science and Engineering
License: Modified BSD Please see the file LICENSE.RSTM for licensing information
bool Disjoint::ro_transaction |
( |
uint32_t |
id, |
|
|
uint32_t startpoint |
TM_ARG |
|
) |
| |
do some reads only... bool return type to keep it from being optimized out
Copyright (C) 2011 University of Rochester Department of Computer Science and Lehigh University Department of Computer Science and Engineering
License: Modified BSD Please see the file LICENSE.RSTM for licensing information Step 1: Include the configuration code for the harness, and the API code. We provide the option to build the entire benchmark in a single source. The bmconfig.hpp include defines all of the important functions that are implemented in this file, and bmharness.cpp defines the execution infrastructure. Step 2: Declare the data type that will be stress tested via this benchmark. Also provide any functions that will be needed to manipulate the data type. Take care to avoid unnecessary indirection. NB: special case here, because icc doesn't like combination of noinline and header definitions.
do some reads only... bool return type to keep it from being optimized out