Package rekall :: Module quotas
[frames] | no frames]

Module quotas

source code


Author: Michael Cohen <scudette@google.com>

Functions
 
wrap_session(session, cpu_quota=None, load_quota=None)
Wraps the session limiting cpu quota.
source code
 
check_quota(state, cpu_quota, load_quota)
A progress callback which checks quota is not exceeded.
source code
Variables
  __author__ = 'Michael Cohen <scudette@google.com>'
This file implements CPU quota limiting on the Rekall session.
  __package__ = 'rekall'
Variables Details

__author__

This file implements CPU quota limiting on the Rekall session.

The code works by wrapping a session object with progress handlers which check for the CPU quota.

Note that when Rekall is used as a library, the caller must deliberately wrap its own session with this module.

Value:
'Michael Cohen <scudette@google.com>'