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 Get the perf results:

Functions

uint64_t INTELLI::ThreadPerf::getResultById (int idx)
 Get the perf result by event id. More...
 
uint64_t INTELLI::ThreadPerf::getResultByName (string name)
 Get the perf result by event tag string. More...
 
void INTELLI::ThreadPerf::end ()
 end all registered perf More...
 
string INTELLI::ThreadPerf::headStringPrintf (void)
 get the head string for print a result sheet More...
 
string INTELLI::ThreadPerf::headStringCsv (void)
 get the head string for csv file of a result sheet More...
 
string INTELLI::ThreadPerf::resultStringPrintf (void)
 get the result string for print a result sheet More...
 
string INTELLI::ThreadPerf::resultStringCsv (void)
 get the result string for csv file a result sheet More...
 

Detailed Description

We can get thr perf result by 1) search their index and 2) search their tags, The csv and printing sheet are also supported

Function Documentation

◆ end()

void INTELLI::ThreadPerf::end ( )

end all registered perf

Note
The results will be valid after this function

◆ getResultById()

uint64_t INTELLI::ThreadPerf::getResultById ( int  idx)

Get the perf result by event id.

Parameters
idxThe event id
Returns
perf result

◆ getResultByName()

uint64_t INTELLI::ThreadPerf::getResultByName ( string  name)

Get the perf result by event tag string.

Parameters
nameThe name tag
Returns
perf result

◆ headStringCsv()

string INTELLI::ThreadPerf::headStringCsv ( void  )

get the head string for csv file of a result sheet

Returns
the head string

◆ headStringPrintf()

string INTELLI::ThreadPerf::headStringPrintf ( void  )

get the head string for print a result sheet

Returns
the head string

◆ resultStringCsv()

string INTELLI::ThreadPerf::resultStringCsv ( void  )

get the result string for csv file a result sheet

Returns
the result string

◆ resultStringPrintf()

string INTELLI::ThreadPerf::resultStringPrintf ( void  )

get the result string for print a result sheet

Returns
the result string