pack the perf event in cpp style, remain safe if some std linux perf failed More...
#include <Utils/ThreadPerf.h>
Public Member Functions | |
PerfTool (pid_t pid, int cpu) | |
uint64_t | readPerf (size_t ch) |
int | startPerf (size_t ch) |
int | stopPerf (size_t ch) |
bool | isValidChannel (size_t ch) |
pack the perf event in cpp style, remain safe if some std linux perf failed