Observer interface that samples EventBase loop activity.

Synopsis

Declared in <folly/io/async/EventBase.h>

class EventBaseObserver;

Member Functions

Name

Description

~EventBaseObserver [destructor] [virtual]

Destroys the observer.

getSampleRate [virtual]

Returns how often the loop should be sampled.

loopSample [virtual]

Reports the busy and idle time of a sampled loop iteration.

Created with MrDocs