This example shows how to setup and use a poller. See the explanation here.
#include <Ecore.h>
#include <unistd.h>
static double _initial_time = 0;
_poller_print_cb(void *data)
{
   char *str = data;
   printf("Ecore Poller '%s' callback called after %0.3f seconds.\n",
}
{
}
int
main(void)
{
   double interval = 0.3; 
   Ecore_Poller *poller1, *poller2, *poller3;
   char *str1 = "poller1";
   char *str2 = "poller2";
   char *str3 = "poller3";
     {
        printf("ERROR: Cannot init Ecore!\n");
        return -1;
     }
   printf("changing poller2 interval to 16\n");
}