CCTLib
Calling-context and data-object attribution library for Intel Pin
UnrolledLoop< start, end, incr > Struct Template Reference

Public Member Functions

 UnrolledLoop (prevIP, handle, threadId)
 
 if (conditional)
 
 UnrolledLoop (addr, handle, threadId)
 
 UnrolledLoop (prevIP, handle, threadId)
 
 if (conditional)
 
 UnrolledLoop (addr, handle, threadId)
 

Static Public Member Functions

static void Body (const function< void(const int)> &func)
 
static __attribute__ ((always_inline)) void Body(const function< void(const int)> &func)
 
static __attribute__ ((always_inline)) void BodySamePage(ContextHandle_t *__restrict__ prevIP
 
static __attribute__ ((always_inline)) void BodyStraddlePage(uint64_t addr
 
static __attribute__ ((always_inline)) void Body(const function< void(const int)> &func)
 
static __attribute__ ((always_inline)) void Body(const function< void(const int)> &func)
 
static __attribute__ ((always_inline)) void BodySamePage(ContextHandle_t *__restrict__ prevIP
 
static __attribute__ ((always_inline)) void BodyStraddlePage(uint64_t addr
 

Public Attributes

static const ContextHandle_t handle
 
static const ContextHandle_t THREADID threadId
 
ContextHandle_tprevIP = &(get<1>(t)[PAGE_OFFSET(((uint64_t)addr + start))])
 
 prevIP [0] = handle
 

Detailed Description

template<int start, int end, int incr>
struct UnrolledLoop< start, end, incr >

Definition at line 93 of file footprint_client.cpp.

Constructor & Destructor Documentation

◆ UnrolledLoop() [1/4]

template<int start, int end, int incr>
UnrolledLoop< start, end, incr >::UnrolledLoop ( prevIP  ,
handle  ,
threadId   
)

◆ UnrolledLoop() [2/4]

template<int start, int end, int incr>
UnrolledLoop< start, end, incr >::UnrolledLoop ( addr  ,
handle  ,
threadId   
)

◆ UnrolledLoop() [3/4]

template<int start, int end, int incr>
UnrolledLoop< start, end, incr >::UnrolledLoop ( prevIP  ,
handle  ,
threadId   
)

◆ UnrolledLoop() [4/4]

template<int start, int end, int incr>
UnrolledLoop< start, end, incr >::UnrolledLoop ( addr  ,
handle  ,
threadId   
)

Member Function Documentation

◆ __attribute__() [1/7]

template<int start, int end, int incr>
static UnrolledLoop< start, end, incr >::__attribute__ ( (always_inline)  ) const &
inlinestatic

Definition at line 586 of file loadspy_client.cpp.

References UnrolledLoop< start, end, incr >::Body().

◆ __attribute__() [2/7]

template<int start, int end, int incr>
static UnrolledLoop< start, end, incr >::__attribute__ ( (always_inline)  ) const &
inlinestatic

Definition at line 119 of file redspy_client.cpp.

References UnrolledLoop< start, end, incr >::Body().

◆ __attribute__() [3/7]

template<int start, int end, int incr>
static UnrolledLoop< start, end, incr >::__attribute__ ( (always_inline)  ) const &
inlinestatic

◆ __attribute__() [4/7]

template<int start, int end, int incr>
static UnrolledLoop< start, end, incr >::__attribute__ ( (always_inline)  )
static

◆ __attribute__() [5/7]

template<int start, int end, int incr>
static UnrolledLoop< start, end, incr >::__attribute__ ( (always_inline)  )
static

◆ __attribute__() [6/7]

template<int start, int end, int incr>
static UnrolledLoop< start, end, incr >::__attribute__ ( (always_inline)  )
static

References sm.

◆ __attribute__() [7/7]

template<int start, int end, int incr>
static UnrolledLoop< start, end, incr >::__attribute__ ( (always_inline)  )
static

References PAGE_OFFSET, sm, and PinCCTLib::status.

◆ Body()

template<int start, int end, int incr>
static void UnrolledLoop< start, end, incr >::Body ( const function< void(const int)> &  func)
inlinestatic

◆ if() [1/2]

template<int start, int end, int incr>
UnrolledLoop< start, end, incr >::if ( conditional  )
inline

◆ if() [2/2]

template<int start, int end, int incr>
UnrolledLoop< start, end, incr >::if ( conditional  )
inline

Member Data Documentation

◆ handle

template<int start, int end, int incr>
static const ContextHandle_t UnrolledLoop< start, end, incr >::handle

Definition at line 590 of file loadspy_client.cpp.

◆ prevIP [1/2]

template<int start, int end, int incr>
ContextHandle_t * UnrolledLoop< start, end, incr >::prevIP = &(get<1>(t)[PAGE_OFFSET(((uint64_t)addr + start))])

Definition at line 604 of file loadspy_client.cpp.

◆ prevIP [2/2]

template<int start, int end, int incr>
UnrolledLoop< start, end, incr >::prevIP[0] = handle

Definition at line 614 of file loadspy_client.cpp.

◆ threadId

template<int start, int end, int incr>
static const ContextHandle_t THREADID UnrolledLoop< start, end, incr >::threadId
Initial value:
{
if (conditional) {
if (approx)
else
}
prevIP[start] = handle
static void AddToRedTable(uint64_t key, uint16_t value, THREADID threadId) __attribute__((always_inline
#define MAKE_CONTEXT_PAIR(a, b)
static void AddToApproximateRedTable(uint64_t key, uint16_t value, THREADID threadId) __attribute__((always_inline
ContextHandle_t * prevIP
static const ContextHandle_t handle
static const ContextHandle_t THREADID threadId

Definition at line 590 of file loadspy_client.cpp.


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