Changeset 50a50313 in rtems
- Timestamp:
- 01/21/15 14:22:46 (9 years ago)
- Branches:
- 4.11, 5, master
- Children:
- 2486c492
- Parents:
- c625a641
- git-author:
- Sebastian Huber <sebastian.huber@…> (01/21/15 14:22:46)
- git-committer:
- Sebastian Huber <sebastian.huber@…> (01/22/15 06:52:50)
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/libmisc/shell/print_heapinfo.c
rc625a641 r50a50313 39 39 { 40 40 printf( 41 "Instance number: %12" PRIu32 "\n"42 41 "Size of the allocatable area in bytes: %12" PRIuPTR "\n" 43 42 "Minimum free size ever in bytes: %12" PRIuPTR "\n" … … 51 50 "Total number of successful frees: %12" PRIu32 "\n" 52 51 "Total number of successful resizes: %12" PRIu32 "\n", 53 s->instance,54 52 s->size, 55 53 s->min_free_size, -
cpukit/score/include/rtems/score/heap.h
rc625a641 r50a50313 270 270 */ 271 271 uint64_t lifetime_freed; 272 273 /**274 * @brief Instance number of this heap.275 */276 uint32_t instance;277 272 278 273 /** -
cpukit/score/src/heap.c
rc625a641 r50a50313 31 31 #error "invalid CPU_ALIGNMENT value" 32 32 #endif 33 34 static uint32_t instance = 0;35 33 36 34 /* … … 285 283 stats->free_blocks = 1; 286 284 stats->max_free_blocks = 1; 287 stats->instance = instance++;288 285 289 286 _Heap_Protection_set_delayed_free_fraction( heap, 2 ); -
doc/shell/memory.t
rc625a641 r50a50313 547 547 @item Largest used block 548 548 @item Total bytes used 549 @item Instance number550 549 @item Size of the allocatable area in bytes 551 550 @item Minimum free size ever in bytes … … 585 584 Largest used block: 16392 586 585 Total bytes used: 83536 587 Instance number: 0588 586 Size of the allocatable area in bytes: 266291928 589 587 Minimum free size ever in bytes: 266207360
Note: See TracChangeset
for help on using the changeset viewer.