E3SM-Project / E3SM-Project/scorpio

Add memory profiling in PIO2

Open
#31 0 comments 0 reactions 1 assignee Claimed by @jayeshkrishna View on GitHub
enhancement
Dominant language
C++
Stars
22
Forks
20
Avg merge
12d 19m
Merged PRs (30d)
1

Description

Add memory profiling information along with the timing logs.

bget buffer allocator has some memory statistics that we can use.
We might have to add some support for cases where malloc()
(PIO_USE_MALLOC) is used instead of bget memory blocks.

To account for memory used up by malloc/frees we can change
them to macros with built-in memory statistics collection.

It would be useful to print out the memory usage of PIO at the
beginning of a PIO call and at the end of a PIO call. If possible,
it would also be beneficial to add the memory usage of the
application here.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.