コード例 #1
0
ファイル: yappi.py プロジェクト: yunstanford/yappi
def _profile_thread_callback(frame, event, arg):
    """
    _profile_thread_callback will only be called once per-thread. _yappi will detect
    the new thread and changes the profilefunc param of the ThreadState
    structure. This is an internal function please don't mess with it.
    """
    _yappi._profile_event(frame, event, arg)
コード例 #2
0
ファイル: yappi.py プロジェクト: sumerc/yappi
def _profile_thread_callback(frame, event, arg):
    """
    _profile_thread_callback will only be called once per-thread. _yappi will detect
    the new thread and changes the profilefunc param of the ThreadState
    structure. This is an internal function please don't mess with it.
    """
    _yappi._profile_event(frame, event, arg)
コード例 #3
0
ファイル: yappi.py プロジェクト: nirs/yappi
def _callback(frame, event, arg):
    _yappi._profile_event(frame, event, arg)
    return _callback
コード例 #4
0
ファイル: yappi.py プロジェクト: nirs/yappi
def _callback(frame, event, arg):
    _yappi._profile_event(frame, event, arg)
    return _callback