tlds
Transactional Operations for Linked Data Structures
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
anonymous_namespace{profileapp.cpp}::ProfileApp< COUNTMODE > Struct Template Reference
Collaboration diagram for anonymous_namespace{profileapp.cpp}::ProfileApp< COUNTMODE >:

Static Public Member Functions

static void Initialize (int id, const char *name)
 
static TM_FASTCALL bool begin (TxThread *)
 
static TM_FASTCALL void * read_ro (STM_READ_SIG(,,))
 
static TM_FASTCALL void * read_rw (STM_READ_SIG(,,))
 
static TM_FASTCALL void write_ro (STM_WRITE_SIG(,,,))
 
static TM_FASTCALL void write_rw (STM_WRITE_SIG(,,,))
 
static TM_FASTCALL void commit_ro (STM_COMMIT_SIG(,))
 
static TM_FASTCALL void commit_rw (STM_COMMIT_SIG(,))
 
static stm::scope_trollback (STM_ROLLBACK_SIG(,,,))
 
static bool irrevoc (STM_IRREVOC_SIG(,))
 
static void onSwitchTo ()
 

Detailed Description

template<int COUNTMODE>
struct anonymous_namespace{profileapp.cpp}::ProfileApp< COUNTMODE >

To support both average and max without too much overhead, we are going to template the implementation. Then, we can specialize for two different int values, which will serve as a bool for either doing AVG (1) or MAX (0)

Member Function Documentation

template<int COUNTMODE>
static TM_FASTCALL bool anonymous_namespace{profileapp.cpp}::ProfileApp< COUNTMODE >::begin ( TxThread )
static
template<int COUNTMODE>
static TM_FASTCALL void anonymous_namespace{profileapp.cpp}::ProfileApp< COUNTMODE >::commit_ro ( STM_COMMIT_SIG(,)  )
static
template<int COUNTMODE>
static TM_FASTCALL void anonymous_namespace{profileapp.cpp}::ProfileApp< COUNTMODE >::commit_rw ( STM_COMMIT_SIG(,)  )
static
template<int COUNTMODE>
void anonymous_namespace{profileapp.cpp}::ProfileApp< COUNTMODE >::Initialize ( int  id,
const char *  name 
)
static
template<int COUNTMODE>
static bool anonymous_namespace{profileapp.cpp}::ProfileApp< COUNTMODE >::irrevoc ( STM_IRREVOC_SIG(,)  )
static
template<int COUNTMODE>
static void anonymous_namespace{profileapp.cpp}::ProfileApp< COUNTMODE >::onSwitchTo ( )
static
template<int COUNTMODE>
static TM_FASTCALL void* anonymous_namespace{profileapp.cpp}::ProfileApp< COUNTMODE >::read_ro ( STM_READ_SIG(,,)  )
static
template<int COUNTMODE>
static TM_FASTCALL void* anonymous_namespace{profileapp.cpp}::ProfileApp< COUNTMODE >::read_rw ( STM_READ_SIG(,,)  )
static
template<int COUNTMODE>
static stm::scope_t* anonymous_namespace{profileapp.cpp}::ProfileApp< COUNTMODE >::rollback ( STM_ROLLBACK_SIG(,,,)  )
static
template<int COUNTMODE>
static TM_FASTCALL void anonymous_namespace{profileapp.cpp}::ProfileApp< COUNTMODE >::write_ro ( STM_WRITE_SIG(,,,)  )
static
template<int COUNTMODE>
static TM_FASTCALL void anonymous_namespace{profileapp.cpp}::ProfileApp< COUNTMODE >::write_rw ( STM_WRITE_SIG(,,,)  )
static

The documentation for this struct was generated from the following file: