__gmon_start__ _init _fini __cxa_finalize _Jv_RegisterClasses RotatingTree_Enum free _Py_NoneStruct PyArg_ParseTupleAndKeywords PyEval_SetProfile PyList_New PyExc_MemoryError PyErr_SetString PyObject_CallFunction PyList_Append PyObject_Call PyFloat_AsDouble PyErr_Occurred PyErr_WriteUnraisable PyLong_AsLongLong RotatingTree_Get gettimeofday PyErr_Fetch PyErr_Restore malloc PyCFunction_Type RotatingTree_Add PyString_FromString _PyType_Lookup PyObject_Repr PyErr_Clear PyString_FromFormat PyModule_Type PyType_IsSubtype PyModule_GetName init_lsprof Py_InitModule4 PyModule_GetDict PyType_Ready PyDict_SetItemString PyModule_AddObject PyTuple_New PyStructSequence_InitType PyType_GenericAlloc PyType_GenericNew PyObject_Free libc.so.6 _edata __bss_start _end GLIBC_2.1.3 GLIBC_2.0
|ii:enable |Odii:Profiler ((Olldd)) __builtin__ <%s.%s> <%s>
((OllddO)) Fast profiler _lsprof _lsprof.Profiler _lsprof.profiler_entry _lsprof.profiler_subentry subcalls builtins timer timeunit getstats disable clear code reccallcount totaltime total time in this entry inlinetime details of the calls how many times this is called total time spent in this call memory was exhausted while profiling code object or built-in function name how many times this was called how many times called recursively inline time in this entry (not in subcalls) called code object or built-in function name how many times this is called recursively inline time (not in further subcalls) P P > / O
1 Profiler(custom_timer=None, time_unit=None, subcalls=True, builtins=True) Builds a profiler object using the specified timer function. The default timer is a fast built-in one based on real time. For custom timer functions returning integers, time_unit can be a float specifying a scale (i.e. how long each integer unit is, in seconds). getstats() -> list of profiler_entry objects Return all information collected by the profiler. Each profiler_entry is a tuple-like object with the following attributes: code code object callcount how many times this was called reccallcount how many times called recursively totaltime total time in this entry inlinetime inline time in this entry (not in subcalls) calls details of the calls The calls attribute is either None or a list of profiler_subentry objects: code called code object callcount how many times this is called reccallcount how many times this is called recursively totaltime total time spent in this call inlinetime inline time (not in further subcalls) enable(subcalls=True, builtins=True) Start collecting profiling information. If 'subcalls' is True, also records for each function statistics separated according to its current caller. If 'builtins' is True, records the time spent in built-in functions separately from their caller. disable() Stop collecting profiling information. clear() Clear all profiling information collected so far. {" $ p 1 9 " 9 " 9 " " " " " " " @3 " @ `6 " 7 " 7 " # " # " # # # *# $ D# 5# " H$ " J# " x$ # h# *# $
GCC: (GNU) 4.2.3 (Ubuntu 4.2.3-2ubuntu7) GCC: (GNU) 4.6.x-google 20120106 (prerelease) GCC: (GNU) 4.2.3 (Ubuntu 4.2.3-2ubuntu7)
.symtab .strtab .shstrtab .hash .dynsym .dynstr .gnu.version .gnu.version_r .rel.dyn .rel.plt .init .text .fini .rodata .eh_frame_hdr .eh_frame .ctors .dtors .jcr .dynamic .got .got.plt .data .bss .comment .debug_aranges .debug_info .debug_abbrev .debug_line .debug_ranges
initfini.c crtstuff.c __CTOR_LIST__ __DTOR_LIST__ __JCR_LIST__ __do_global_dtors_aux completed.5467 dtor_idx.5469 frame_dummy __CTOR_END__ __FRAME_END__ __JCR_END__ __do_global_ctors_aux _lsprof.c profiler_clear freeEntry freeSubEntry profiler_enable kwlist.9121 profiler_callback profiler_init kwlist.9153 profiler_getstats statsForEntry statsForSubEntry StatsSubEntryType CallExternalTimer.isra.4 empty_tuple Stop profiler_disable ptrace_enter_call StatsEntryType profiler_dealloc moduleMethods PyProfiler_Type initialized profiler_entry_desc profiler_subentry_desc profiler_doc profiler_methods profiler_entry_fields profiler_subentry_fields getstats_doc enable_doc disable_doc clear_doc .L122 .L123 .L124 .L125 .L126 rotatingtree.c random_stream random_value _GLOBAL_OFFSET_TABLE_ __x86.get_pc_thunk.bx __dso_handle __DTOR_END__ _DYNAMIC PyModule_AddObject PyDict_SetItemString PyType_GenericNew PyType_Ready __gmon_start__ _Jv_RegisterClasses _fini PyModule_Type RotatingTree_Get RotatingTree_Enum gettimeofday@@GLIBC_2.0 PyErr_Occurred free@@GLIBC_2.0 PyArg_ParseTupleAndKeywords PyErr_WriteUnraisable PyExc_MemoryError PyString_FromString PyString_FromFormat PyModule_GetDict PyErr_Restore PyType_IsSubtype init_lsprof PyErr_Fetch PyModule_GetName PyFloat_AsDouble PyStructSequence_InitType PyEval_SetProfile __bss_start malloc@@GLIBC_2.0 _Py_NoneStruct PyList_Append PyLong_AsLongLong PyObject_Call Py_InitModule4 PyObject_Free _end PyErr_Clear PyTuple_New PyCFunction_Type PyErr_SetString RotatingTree_Add PyObject_CallFunction _edata _PyType_Lookup PyList_New PyType_GenericAlloc __cxa_finalize@@GLIBC_2.1.3 PyObject_Repr _init