#include "pycore_abstract.h"
#include "pycore_modsupport.h"
PyDoc_STRVAR(_testinternalcapi_benchmark_locks__doc__,
"benchmark_locks($module, num_threads, use_pymutex=True,\n"
" critical_section_length=1, time_ms=1000, /)\n"
"--\n"
"\n");
#define _TESTINTERNALCAPI_BENCHMARK_LOCKS_METHODDEF …
static PyObject *
_testinternalcapi_benchmark_locks_impl(PyObject *module,
Py_ssize_t num_threads,
int use_pymutex,
int critical_section_length,
int time_ms);
static PyObject *
_testinternalcapi_benchmark_locks(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ … }