proxygen
|
#include <ExecutionObserver.h>
Public Member Functions | |
virtual | ~ExecutionObserver () |
virtual void | starting (uintptr_t id) noexcept=0 |
virtual void | runnable (uintptr_t id) noexcept=0 |
virtual void | stopped (uintptr_t id) noexcept=0 |
Observes the execution of a task.
Definition at line 25 of file ExecutionObserver.h.
|
inlinevirtual |
Definition at line 27 of file ExecutionObserver.h.
References folly::pushmi::__adl::noexcept(), runnable(), starting(), and stopped().
|
pure virtualnoexcept |
Called when a task is ready to run.
id | Unique id for the task which is ready to run. |
Referenced by folly::fibers::FiberManager::addTask(), folly::fibers::FiberManager::addTaskFinally(), folly::fibers::FiberManager::loopUntilNoReadyImpl(), folly::fibers::FiberManager::remoteReadyInsert(), folly::fibers::Fiber::resume(), and ~ExecutionObserver().
|
pure virtualnoexcept |
Called when a task is about to start executing.
id | Unique id for the task which is starting. |
Referenced by folly::EventHandler::libeventCallback(), folly::fibers::FiberManager::runReadyFiber(), and ~ExecutionObserver().
|
pure virtualnoexcept |
Called just after a task stops executing.
id | Unique id for the task which stopped. |
Referenced by folly::fibers::FiberManager::runReadyFiber(), and ~ExecutionObserver().