AllianceDB  0.0.1
AllianceDB is an open-source suite, including benchmarks and libs for evaluating and improving stream operation algorithms on modern hardwares.
Collaboration diagram for Initialize:

Functions

 INTELLI::ThreadPerf::ThreadPerf (int cpu)
 To start perf this thread at specific cpu, with default perf events. More...
 
 INTELLI::ThreadPerf::ThreadPerf (int cpu, vector< PerfPair > customPair)
 To start perf this thread at specific cpu, with customized perf events. More...
 
void INTELLI::ThreadPerf::start ()
 start all registered perf More...
 

Detailed Description

To init and register the perf events

Function Documentation

◆ start()

void INTELLI::ThreadPerf::start ( )

start all registered perf

Note
The previous results will NOT be cleared after this function

◆ ThreadPerf() [1/2]

INTELLI::ThreadPerf::ThreadPerf ( int  cpu)

To start perf this thread at specific cpu, with default perf events.

Parameters
cpuThe cpu to be perfed, -1 for all that runs this thread

◆ ThreadPerf() [2/2]

INTELLI::ThreadPerf::ThreadPerf ( int  cpu,
vector< PerfPair customPair 
)

To start perf this thread at specific cpu, with customized perf events.

Parameters
cpuThe cpu to be perfed, -1 for all that runs this thread
customPairThe customized vector of PerfPair to define perf events
See also
PerfPair