MCPcopy Create free account
hub / github.com/async-profiler/async-profiler / RingBuffer

Method RingBuffer

src/perfEvents_linux.cpp:532–534  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

530
531 public:
532 RingBuffer(struct perf_event_mmap_page* page) {
533 _start = (const char*)page + OS::page_size;
534 }
535
536 struct perf_event_header* seek(u64 offset) {
537 _offset = (unsigned long)offset & OS::page_mask;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected