Searched refs:parse_amount (Results 1 – 2 of 2) sorted by relevance
27 static int parse_amount(const char **s, long long *destination) in parse_amount() function71 result &= parse_amount(&thread_data_start, &stats->total_allocated_memory); in populate_thread_stats()72 result &= parse_amount(&thread_data_start, &stats->total_mmapped_memory); in populate_thread_stats()73 result &= parse_amount(&thread_data_start, &stats->mmapped_regions); in populate_thread_stats()85 return parse_amount(&free_heap_space_start, total_free_heap_space); in populate_total_free_heap_space()
77 static long long parse_amount(const char *s) in parse_amount() function107 parse_amount(get_node_text(find_child_node("total_allocated_memory", thread_root))); in populate_thread_stats()109 parse_amount(get_node_text(find_child_node("total_mmapped_memory", thread_root))); in populate_thread_stats()111 parse_amount(get_node_text(find_child_node("mmapped_regions", thread_root))); in populate_thread_stats()130 long long total_free_heap_space_parsed = parse_amount(get_node_text(heap_space_root)); in populate_total_free_heap_space()