put under #ifdef 0 a new version which uses yarp calls to retrieve time and not linux calls anymore