fix return value for e_main_ts()

SVN revision: 74431
This commit is contained in:
Mike Blumenkrantz 2012-07-26 10:24:10 +00:00
parent bb711a6526
commit aac8262b02
1 changed files with 6 additions and 2 deletions

View File

@ -1157,8 +1157,12 @@ e_main_idler_before_del(E_Before_Idler *eb)
EAPI double
e_main_ts(const char *str)
{
TS(str);
return t1 - t2;
double ret;
t1 = ecore_time_unix_get();
printf("ESTART: %1.5f [%1.5f] - %s\n", t1 - t0, t1 - t2, str);
ret = t1 - t2;
t2 = t1;
return ret;
}
/* local functions */