Changeset 289ad86 in rtems for cpukit/libcsupport


Ignore:
Timestamp:
Dec 5, 1995, 3:29:53 PM (25 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
e57b0e2
Parents:
76b6fd0c
Message:

bug fix in statistics from Tony Bennett (tbennett@…)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libcsupport/src/malloc.c

    r76b6fd0c r289ad86  
    194194  if (return_this)
    195195  {
     196      unsigned32 actual_size;
    196197      unsigned32 current_depth;
    197       MSBUMP(lifetime_allocated, size);
     198      status = rtems_region_get_segment_size(RTEMS_Malloc_Heap, return_this, &actual_size);
     199      MSBUMP(lifetime_allocated, actual_size);
    198200      current_depth = malloc_stats.lifetime_allocated - malloc_stats.lifetime_freed;
    199201      if (current_depth > malloc_stats.max_depth)
Note: See TracChangeset for help on using the changeset viewer.