To init and register the perf events
◆ 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
-
cpu | The 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
-
cpu | The cpu to be perfed, -1 for all that runs this thread |
customPair | The customized vector of PerfPair to define perf events |
- See also
- PerfPair