intel / intel/confidential-computing.sgx.sdk
Is there a way to dynamically measure the allocated memory in enclave?
Open
question
- Dominant language
- C++
- Stars
- 2
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
Now I have a requirement to provide an API for me like `size_ t currentMemUsage();`
It will return how much memory in EPC has allocated. If it exceeds 256MB, Paging will occur, then I can decide whether to use enclave for calculation or not to avoid the cost of Paging ? I wonder if the SDK provides this method or there is another method?
Thank you very much.
Contributor guide
Assessment
This issue has not been assessed yet.