Home
last modified time | relevance | path

Searched refs:gc_alloc_threshold (Results 1 – 3 of 3) sorted by relevance

/AliOS-Things-master/components/py_engine/engine/py/
A Dmodgc.c82 if (MP_STATE_MEM(gc_alloc_threshold) == (size_t)-1) { in gc_threshold()
85 return mp_obj_new_int(MP_STATE_MEM(gc_alloc_threshold) * MICROPY_BYTES_PER_GC_BLOCK); in gc_threshold()
89 MP_STATE_MEM(gc_alloc_threshold) = (size_t)-1; in gc_threshold()
91 MP_STATE_MEM(gc_alloc_threshold) = val / MICROPY_BYTES_PER_GC_BLOCK; in gc_threshold()
A Dmpstate.h93 size_t gc_alloc_threshold; member
A Dgc.c160 MP_STATE_MEM(gc_alloc_threshold) = (size_t)-1; in gc_init()
463 if (!collected && MP_STATE_MEM(gc_alloc_amount) >= MP_STATE_MEM(gc_alloc_threshold)) { in gc_alloc()

Completed in 6 milliseconds