Diff for /libelwix/src/time.c between versions 1.3.22.1 and 1.4.20.1

version 1.3.22.1, 2014/01/14 22:38:58 version 1.4.20.1, 2015/06/25 00:36:48
Line 12  terms: Line 12  terms:
 All of the documentation and software included in the ELWIX and AITNET  All of the documentation and software included in the ELWIX and AITNET
 Releases is copyrighted by ELWIX - Sofia/Bulgaria <info@elwix.org>  Releases is copyrighted by ELWIX - Sofia/Bulgaria <info@elwix.org>
   
Copyright 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013Copyright 2004 - 2015
         by Michael Pounov <misho@elwix.org>.  All rights reserved.          by Michael Pounov <misho@elwix.org>.  All rights reserved.
   
 Redistribution and use in source and binary forms, with or without  Redistribution and use in source and binary forms, with or without
Line 286  time_rdtsc(void) Line 286  time_rdtsc(void)
 #else  #else
         /* unsupported for this architecture, get time by ordinary way */          /* unsupported for this architecture, get time by ordinary way */
         struct timespec ts = { 0, 0LL };          struct timespec ts = { 0, 0LL };
         uint64_t res;  
   
         clock_gettime(CLOCK_UPTIME_PRECISE, &ts);          clock_gettime(CLOCK_UPTIME_PRECISE, &ts);
         return ((uint64_t) ts.tv_sec * 1000000000 + ts.tv_nsec);          return ((uint64_t) ts.tv_sec * 1000000000 + ts.tv_nsec);

Removed from v.1.3.22.1  
changed lines
  Added in v.1.4.20.1


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>