--- libelwix/inc/elwix/atime.h 2013/03/07 16:24:32 1.2 +++ libelwix/inc/elwix/atime.h 2015/06/25 17:53:49 1.5 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: atime.h,v 1.2 2013/03/07 16:24:32 misho Exp $ +* $Id: atime.h,v 1.5 2015/06/25 17:53:49 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -12,7 +12,7 @@ terms: All of the documentation and software included in the ELWIX and AITNET Releases is copyrighted by ELWIX - Sofia/Bulgaria -Copyright 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 +Copyright 2004 - 2015 by Michael Pounov . All rights reserved. Redistribution and use in source and binary forms, with or without @@ -54,6 +54,13 @@ SUCH DAMAGE. * 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