Jeff Thompson | 9ae4d78 | 2013-10-17 10:25:54 -0700 | [diff] [blame^] | 1 | /** |
| 2 | * Copyright (C) 2013 Regents of the University of California. |
| 3 | * @author: Jeff Thompson <jefft0@remap.ucla.edu> |
| 4 | * See COPYING for copyright and distribution information. |
| 5 | */ |
| 6 | |
| 7 | #ifndef NDN_TIME_H |
| 8 | #define NDN_TIME_H |
| 9 | |
| 10 | #ifdef __cplusplus |
| 11 | extern "C" { |
| 12 | #endif |
| 13 | |
| 14 | /** |
| 15 | * Use gettimeofday to return the current time in milliseconds. |
| 16 | * @return The current time in milliseconds since 1/1/1970, including fractions of a millisecond according to timeval.tv_usec. |
| 17 | */ |
| 18 | double |
| 19 | ndn_getNowMilliseconds(); |
| 20 | |
| 21 | #ifdef __cplusplus |
| 22 | } |
| 23 | #endif |
| 24 | |
| 25 | #endif |