forked from enlightenment/efl
do ecore_init, so ecore_time_get works
SVN revision: 54827
This commit is contained in:
parent
5c4adef911
commit
c36317f77c
|
@ -115,6 +115,7 @@ main(int argc, char ** argv)
|
||||||
double total;
|
double total;
|
||||||
|
|
||||||
eina_init();
|
eina_init();
|
||||||
|
ecore_init();
|
||||||
|
|
||||||
total = ecore_time_get();
|
total = ecore_time_get();
|
||||||
if (argc > 1)
|
if (argc > 1)
|
||||||
|
@ -178,6 +179,7 @@ main(int argc, char ** argv)
|
||||||
|
|
||||||
printf("Total run: %.3f seconds\n", ecore_time_get() - total);
|
printf("Total run: %.3f seconds\n", ecore_time_get() - total);
|
||||||
|
|
||||||
|
ecore_shutdown();
|
||||||
eina_shutdown();
|
eina_shutdown();
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue