--
You can use perf counters for profiling and debugging with vtune. No good solution for trusted time. With the latest gen hardware you can call RDTSC instruction directly inside an enclave, but OS/VMM still control the offset and scaling, so it can’t be trusted.
There are some academic papers on some software solutions that use a busy look inside an enclave to measure the execution time and protect that thread using TSX. You can find the paper at Déjà vu paper at http://web.cse.ohio-state.edu/~zhang.5840/assets/AsiaCCS2017/asia318-chen.pdf
Thanks
Mona
--
You received this message because you are subscribed to the Google Groups "Gramine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
gramine-user...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/gramine-users/9e163c0c-ed4d-9088-baa1-2566beee78b0%40invisiblethingslab.com.