Mercurial > cpython-lru_cache-weakref
view Python/getplatform.c @ 31487:f57f5ce22c8d legacy-trunk
SF patch #884022: dynamic execution profiling vs opcode prediction
(Contributed by Andrew I MacIntyre.)
disables opcode prediction when dynamic execution
profiling is in effect, so the profiling counters at
the top of the main interpreter loop in eval_frame()
are updated for each opcode.
| author | Raymond Hettinger <python@rcn.com> |
|---|---|
| date | Sun, 08 Feb 2004 19:59:27 +0000 |
| parents | 6f6f965c5e2d |
| children |
line wrap: on
line source
#include "Python.h" #ifndef PLATFORM #define PLATFORM "unknown" #endif const char * Py_GetPlatform(void) { return PLATFORM; }
