Home
last modified time | relevance | path

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

/third_party/jerryscript/jerry-core/jmem/
Djmem-allocator.c34 jmem_heap_stats_t *heap_stats = &JERRY_CONTEXT (jmem_heap_stats); in jmem_stats_allocate_byte_code_bytes() local
36 heap_stats->byte_code_bytes += byte_code_size; in jmem_stats_allocate_byte_code_bytes()
38 if (heap_stats->byte_code_bytes >= heap_stats->peak_byte_code_bytes) in jmem_stats_allocate_byte_code_bytes()
40 heap_stats->peak_byte_code_bytes = heap_stats->byte_code_bytes; in jmem_stats_allocate_byte_code_bytes()
50 jmem_heap_stats_t *heap_stats = &JERRY_CONTEXT (jmem_heap_stats); in jmem_stats_free_byte_code_bytes() local
52 JERRY_ASSERT (heap_stats->byte_code_bytes >= byte_code_size); in jmem_stats_free_byte_code_bytes()
54 heap_stats->byte_code_bytes -= byte_code_size; in jmem_stats_free_byte_code_bytes()
63 jmem_heap_stats_t *heap_stats = &JERRY_CONTEXT (jmem_heap_stats); in jmem_stats_allocate_string_bytes() local
65 heap_stats->string_bytes += string_size; in jmem_stats_allocate_string_bytes()
67 if (heap_stats->string_bytes >= heap_stats->peak_string_bytes) in jmem_stats_allocate_string_bytes()
[all …]
Djmem-heap.c744 jmem_heap_stats_t *heap_stats = &JERRY_CONTEXT (jmem_heap_stats); in jmem_heap_stats_print() local
749 (MSG_SIZE_TYPE)(heap_stats->size)); in jmem_heap_stats_print()
763 (MSG_SIZE_TYPE)(heap_stats->allocated_bytes), in jmem_heap_stats_print()
764 (MSG_SIZE_TYPE)(heap_stats->peak_allocated_bytes), in jmem_heap_stats_print()
765 (MSG_SIZE_TYPE)(heap_stats->waste_bytes), in jmem_heap_stats_print()
766 (MSG_SIZE_TYPE)(heap_stats->peak_waste_bytes), in jmem_heap_stats_print()
767 (MSG_SIZE_TYPE)(heap_stats->byte_code_bytes), in jmem_heap_stats_print()
768 (MSG_SIZE_TYPE)(heap_stats->peak_byte_code_bytes), in jmem_heap_stats_print()
769 (MSG_SIZE_TYPE)(heap_stats->string_bytes), in jmem_heap_stats_print()
770 (MSG_SIZE_TYPE)(heap_stats->peak_string_bytes), in jmem_heap_stats_print()
[all …]
/third_party/jerryscript/jerry-core/debugger/
Ddebugger.c1436 jmem_heap_stats_t *heap_stats = &JERRY_CONTEXT (jmem_heap_stats); in jerry_debugger_send_memstats() local
1438 uint32_t allocated_bytes = (uint32_t) heap_stats->allocated_bytes; in jerry_debugger_send_memstats()
1440 uint32_t byte_code_bytes = (uint32_t) heap_stats->byte_code_bytes; in jerry_debugger_send_memstats()
1442 uint32_t string_bytes = (uint32_t) heap_stats->string_bytes; in jerry_debugger_send_memstats()
1444 uint32_t object_bytes = (uint32_t) heap_stats->object_bytes; in jerry_debugger_send_memstats()
1446 uint32_t property_bytes = (uint32_t) heap_stats->property_bytes; in jerry_debugger_send_memstats()