Setting "#cython: profile=True" at the top should just work, though in
older versions of Cython it was too picky about the whitespace in
commend directives. Try setting it to an illegal value (like foo) and
making sure it complains to see that it's actually picking it up. That
failing, post a link to your sources (preferably with the .c and
annotated .html files as well).
- Robert