--- libelwix/inc/elwix/atime.h 2013/03/07 15:34:25 1.1.2.2 +++ 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.2 2013/03/07 15:34:25 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 @@ -51,9 +51,16 @@ SUCH DAMAGE. * time_Parse() - Parse and make unix time from standart time strings ... * * @csTime = Time string - * return: =0 error or !=0 converted time + * 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