Home
last modified time | relevance | path

Searched refs:event_fd_count (Results 1 – 1 of 1) sorted by relevance

/system/extras/simpleperf/
DRecordReadThread_test.cpp212 std::vector<EventFd*> CreateFakeEventFds(const perf_event_attr& attr, size_t event_fd_count) { in CreateFakeEventFds() argument
213 size_t records_per_fd = records_.size() / event_fd_count; in CreateFakeEventFds()
215 buffers_.resize(event_fd_count); in CreateFakeEventFds()
217 std::vector<char>& buffer = buffers_[i % event_fd_count]; in CreateFakeEventFds()
226 event_fds_.resize(event_fd_count); in CreateFakeEventFds()
227 for (size_t i = 0; i < event_fd_count; ++i) { in CreateFakeEventFds()
291 for (size_t event_fd_count = 1; event_fd_count < 10; ++event_fd_count) { in TEST_F() local
292 records_ = CreateFakeRecords(attr, event_fd_count * 10, 0, 0); in TEST_F()
293 std::vector<EventFd*> event_fds = CreateFakeEventFds(attr, event_fd_count); in TEST_F()