- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Is there a way of measuring execution time within an enclave?
I have tried the traditional methods such as
#include <sys/time.h> // for gettimeofday() struct timeval t1, t2; gettimeofday(&t1, NULL); OR #include <time.h> clock_t start, end; start = clock();
But none of them works. Is there any build in function that can be used within enclaves?
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, Sam.
I believe this has been previously discussed here: https://software.intel.com/en-us/forums/intel-software-guard-extensions-intel-sgx/topic/707273
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Rodolfo,
thanks for the link.
I saw that this is only available in simulation mode, is there any way perform a measurement also in hardware mode?
Thanks

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page