intel / intel/confidential-computing.sgx.sdk

Is there a way to dynamically measure the allocated memory in enclave?

Open
#87 6 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.