folly::shared_mutex_detail::getCurrentThreadInvoluntaryContextSwitchCount

Returns the number of involuntary context switches for the current thread.

Synopsis

Declared in <folly/SharedMutex.h>

long
getCurrentThreadInvoluntaryContextSwitchCount();

Return Value

The involuntary context switch count, or a negative value if unavailable.