Changeset 42690
- Timestamp:
- Jun 24, 2024, 8:54:39 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20230313/Ohana/src/libohana/src/ohana_allocate.c
r42074 r42690 448 448 int status = TRUE; 449 449 450 OhanaMemblock *prevBlock = NULL; 451 450 452 while (thisBlock) { 451 453 … … 475 477 Nbytes += thisBlock->size; 476 478 479 prevBlock = thisBlock; // save for debugging 477 480 thisBlock = thisBlock->prevBlock; 478 481 } … … 480 483 if (Ntotal || VERBOSE) { 481 484 fprintf (stderr, "%zd memory blocks allocated (%zd bytes total), %zd good, %zd bad ", Ntotal, Nbytes, Ngood, Nbad); 482 fprintf (stderr, "@ %s:%d (%s)\n", myFile, myLine, myFunc); 485 fprintf (stderr, "@ %s:%d (%s) ", myFile, myLine, myFunc); 486 fprintf (stderr, "(%zd penultimate block)\n", (size_t) prevBlock); 483 487 } 484 488
Note:
See TracChangeset
for help on using the changeset viewer.
