<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Hi Rodolfo, in Intel® Software Guard Extensions (Intel® SGX)</title>
    <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Measuring-time-within-an-enclave/m-p/1079904#M567</link>
    <description>&lt;P&gt;Hi Rodolfo,&lt;/P&gt;

&lt;P&gt;thanks for the link.&lt;/P&gt;

&lt;P&gt;I saw that this is only available in simulation mode, is there any way perform a measurement also in hardware mode?&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Thu, 26 Jan 2017 14:07:03 GMT</pubDate>
    <dc:creator>Sam_S_</dc:creator>
    <dc:date>2017-01-26T14:07:03Z</dc:date>
    <item>
      <title>Measuring time within an enclave</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Measuring-time-within-an-enclave/m-p/1079902#M565</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Is there a way of measuring execution time within an enclave?&lt;/P&gt;

&lt;P&gt;I have tried the traditional methods such as&lt;/P&gt;

&lt;PRE class="brush:cpp;"&gt;#include &amp;lt;sys/time.h&amp;gt;                // for gettimeofday()
struct timeval t1, t2;
gettimeofday(&amp;amp;t1, NULL);

OR 

#include &amp;lt;time.h&amp;gt;
clock_t start, end;
start = clock();

&lt;/PRE&gt;

&lt;P&gt;But none of them works. Is there any build in function that can be used within enclaves?&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2017 08:43:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Measuring-time-within-an-enclave/m-p/1079902#M565</guid>
      <dc:creator>Sam_S_</dc:creator>
      <dc:date>2017-01-26T08:43:10Z</dc:date>
    </item>
    <item>
      <title>Hi, Sam.</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Measuring-time-within-an-enclave/m-p/1079903#M566</link>
      <description>&lt;P&gt;Hi, Sam.&lt;/P&gt;

&lt;P&gt;I believe this has been previously discussed here:&amp;nbsp;&lt;SPAN style="font-size: 1em;"&gt;&lt;A href="https://software.intel.com/en-us/forums/intel-software-guard-extensions-intel-sgx/topic/707273" target="_blank"&gt;https://software.intel.com/en-us/forums/intel-software-guard-extensions-intel-sgx/topic/707273&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2017 12:46:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Measuring-time-within-an-enclave/m-p/1079903#M566</guid>
      <dc:creator>Rodolfo_S_</dc:creator>
      <dc:date>2017-01-26T12:46:37Z</dc:date>
    </item>
    <item>
      <title>Hi Rodolfo,</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Measuring-time-within-an-enclave/m-p/1079904#M567</link>
      <description>&lt;P&gt;Hi Rodolfo,&lt;/P&gt;

&lt;P&gt;thanks for the link.&lt;/P&gt;

&lt;P&gt;I saw that this is only available in simulation mode, is there any way perform a measurement also in hardware mode?&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2017 14:07:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Measuring-time-within-an-enclave/m-p/1079904#M567</guid>
      <dc:creator>Sam_S_</dc:creator>
      <dc:date>2017-01-26T14:07:03Z</dc:date>
    </item>
  </channel>
</rss>

