AllianceDB  0.0.1
AllianceDB is an open-source suite, including benchmarks and libs for evaluating and improving stream operation algorithms on modern hardwares.
INTELLI::PerfTool Class Reference

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)
 

Detailed Description

pack the perf event in cpp style, remain safe if some std linux perf failed

Warning
conflict with the c version libperf

The documentation for this class was generated from the following file: