We can get thr perf result by 1) search their index and 2) search their tags, The csv and printing sheet are also supported
◆ 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
-
- Returns
- perf result
◆ getResultByName()
uint64_t INTELLI::ThreadPerf::getResultByName |
( |
string |
name | ) |
|
Get the perf result by event tag string.
- Parameters
-
- 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