--- libelwix/inc/elwix/atime.h 2013/03/05 13:09:51 1.1.2.1 +++ libelwix/inc/elwix/atime.h 2013/06/19 00:11:16 1.3 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: atime.h,v 1.1.2.1 2013/03/05 13:09:51 misho Exp $ +* $Id: atime.h,v 1.3 2013/06/19 00:11:16 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -47,6 +47,20 @@ SUCH DAMAGE. #define __ATIME_H +/* + * time_Parse() - Parse and make unix time from standart time strings ... + * + * @csTime = Time string + * return: =-1 error or !=-1 converted time + */ +time_t time_Parse(const char *csTime); + +/* + * time_rdtsc() - Get TSC timer value from CPU + * + * return: TSC in nanoseconds + */ +uint64_t time_rdtsc(void); #endif