commit | d79438d57121090f24d985d3e43b6ff83f813e6c | [log] [tgz] |
---|---|---|
author | akmhoque <akmhoque@gmail.com> | Mon Aug 27 13:31:42 2012 -0500 |
committer | akmhoque <akmhoque@gmail.com> | Mon Aug 27 13:31:42 2012 -0500 |
tree | b94784babafc9c70aa57f06f0231de2d43750cc8 | |
parent | 8c1cdbf1424c21538b9a1ca97d1b052904b8d129 [diff] [blame] |
Update in sending Info Interest
diff --git a/utility.c b/utility.c index ed22483..283376d 100644 --- a/utility.c +++ b/utility.c
@@ -70,3 +70,14 @@ gettimeofday(&now,NULL); return now.tv_sec; } + + +long int +get_current_time_microsec(void) +{ + struct timeval now; + gettimeofday(&now, NULL); + long int microSec=1000000*now.tv_sec+now.tv_usec; + return microSec; + +}