Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
cython
Commits
872b8037
Commit
872b8037
authored
Jul 20, 2009
by
Robert Bradshaw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix nogil profiling
parent
2b58df45
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Cython/Compiler/Nodes.py
Cython/Compiler/Nodes.py
+2
-2
No files found.
Cython/Compiler/Nodes.py
View file @
872b8037
...
@@ -1057,7 +1057,7 @@ class FuncDefNode(StatNode, BlockNode):
...
@@ -1057,7 +1057,7 @@ class FuncDefNode(StatNode, BlockNode):
self
.
entry
.
scope
.
is_c_class_scope
)
self
.
entry
.
scope
.
is_c_class_scope
)
if
code
.
globalstate
.
directives
[
'profile'
]
is
None
:
if
code
.
globalstate
.
directives
[
'profile'
]
is
None
:
profile
=
'inline'
not
in
self
.
modifiers
profile
=
'inline'
not
in
self
.
modifiers
and
not
lenv
.
nogil
else
:
else
:
profile
=
code
.
globalstate
.
directives
[
'profile'
]
profile
=
code
.
globalstate
.
directives
[
'profile'
]
if
profile
and
lenv
.
nogil
:
if
profile
and
lenv
.
nogil
:
...
@@ -5788,7 +5788,7 @@ proto="""
...
@@ -5788,7 +5788,7 @@ proto="""
# but maybe some other profilers don't.
# but maybe some other profilers don't.
trace_utility_code
=
UtilityCode
(
proto
=
"""
trace_utility_code
=
UtilityCode
(
proto
=
"""
#define CYTHON_TRACING
0
#define CYTHON_TRACING
1
#define CYTHON_TRACING_REUSE_FRAME 0
#define CYTHON_TRACING_REUSE_FRAME 0
#if CYTHON_TRACING
#if CYTHON_TRACING
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment