Module Import alias Import alias ImportFrom alias ImportFrom alias ClassDef bases body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Pass decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr FunctionDef arguments args defaults body Pass decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Pass decorator_list Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr With AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A N/A sys N/A unittest pikos._internal.profile_function_manager ProfileFunctionManager pikos.tests.compat TestCase MockNativeMonitor N/A N/A __init__ N/A N/A self N/A N/A N/A N/A self _profile N/A ProfileFunctionManager N/A __enter__ N/A N/A self N/A N/A N/A N/A N/A N/A self _profile replace N/A self event N/A __exit__ N/A N/A self exc_type exc_val exc_tb N/A N/A N/A N/A N/A N/A self _profile recover N/A event N/A N/A self frame event arg N/A N/A N/A N/A N/A TestProfileFunctionsManager N/A TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self old N/A N/A sys getprofile foo N/A N/A N/A N/A N/A N/A bar N/A N/A frame event arg N/A N/A N/A N/A N/A N/A self foo foo N/A N/A self bar bar N/A N/A self monitor N/A MockNativeMonitor N/A test_preserving_previous_function N/A N/A self N/A N/A N/A N/A N/A sys setprofile N/A self bar N/A N/A self monitor N/A N/A N/A N/A self foo N/A N/A N/A self assertIs N/A N/A sys getprofile N/A self bar N/A test_error_when_set_multiple N/A N/A self N/A N/A N/A N/A N/A N/A N/A self monitor _profile replace N/A self bar N/A N/A N/A self assertIs N/A N/A sys getprofile N/A self bar N/A N/A N/A N/A N/A self monitor _profile replace N/A self bar N/A N/A N/A self assertIs N/A N/A sys getprofile N/A self bar N/A N/A N/A N/A N/A self monitor _profile recover N/A N/A N/A N/A N/A self monitor _profile replace N/A self bar N/A N/A N/A self assertIs N/A N/A sys getprofile N/A self bar N/A N/A N/A self assertRaises RuntimeError N/A N/A N/A N/A N/A N/A self monitor _profile replace None N/A N/A N/A self assertIs N/A N/A sys getprofile N/A self bar N/A N/A N/A N/A N/A self monitor _profile recover N/A test_error_when_unset N/A N/A self N/A N/A N/A N/A N/A self assertRaises RuntimeError N/A N/A N/A N/A N/A N/A self monitor _profile recover N/A tearDown N/A N/A self N/A N/A N/A N/A N/A sys setprofile N/A self old N/A N/A N/A N/A __name__ __main__ N/A N/A N/A N/A unittest main