Showing posts with label Estimation TIme. Show all posts
Showing posts with label Estimation TIme. Show all posts

Tuesday, 4 December 2012

Estimating Execution Time

static void SGX_timeConsumed(Args _args)
{
FromTime startTime = timeNow();
int i;
str dummyStr;
;
for (i = 1 ; i <= 500000; i++)
{
dummyStr += int2str(i);
}
info(strFmt(“Total time consumed is  %1″, timeConsumed(startTime, timeNow())));
}