Searched refs:PerfEventSet (Results 1 – 3 of 3) sorted by relevance
40 std::unique_ptr<PerfEventSet> perf(PerfEventSet::CreateInstance( in TEST()41 PerfEventSet::Type::kPerfForCounting)); in TEST()65 auto test_function = [](std::function<void(PerfEventSet*)> set_target_func) { in TEST()66 std::unique_ptr<PerfEventSet> perf(PerfEventSet::CreateInstance( in TEST()67 PerfEventSet::Type::kPerfForCounting)); in TEST()84 test_function([](PerfEventSet* perf) { in TEST()87 test_function([](PerfEventSet* perf) { in TEST()90 test_function([](PerfEventSet* perf) { in TEST()97 std::unique_ptr<PerfEventSet> perf(PerfEventSet::CreateInstance( in TEST()98 PerfEventSet::Type::kPerfForCounting)); in TEST()[all …]
61 class PerfEventSetImpl : public PerfEventSet {257 PerfEventSet* PerfEventSet::CreateInstance(PerfEventSet::Type type) { in CreateInstance()267 bool PerfEventSet::AddEvent(const std::string&) { in AddEvent()271 bool PerfEventSet::MonitorCurrentProcess() { in MonitorCurrentProcess()275 bool PerfEventSet::MonitorCurrentThread() { in MonitorCurrentThread()279 bool PerfEventSet::MonitorThreadsInCurrentProcess(const std::vector<pid_t>&) { in MonitorThreadsInCurrentProcess()283 bool PerfEventSet::StartCounters() { in StartCounters()287 bool PerfEventSet::StopCounters() { in StopCounters()291 bool PerfEventSet::ReadCounters(std::vector<Counter>*) { in ReadCounters()
61 class SIMPLEPERF_EXPORT PerfEventSet {68 static PerfEventSet* CreateInstance(Type type);69 virtual ~PerfEventSet() {} in ~PerfEventSet()90 PerfEventSet() {} in PerfEventSet() function