commit | f71d908f20e5ed05ed7775658ad1a3bc69a272d4 | [log] [tgz] |
---|---|---|
author | akmhoque <akmhoque@gmail.com> | Wed Aug 22 12:51:53 2012 -0400 |
committer | akmhoque <akmhoque@gmail.com> | Wed Aug 22 12:51:53 2012 -0400 |
tree | 2cd3f8ea3d4c8c7bdd52cdbbeff228db795a051c | |
parent | 49c0e7df6d3572b0ef67a13e450482378f342d93 [diff] [blame] |
LSDB Building
diff --git a/utility.c b/utility.c index 420a911..ed22483 100644 --- a/utility.c +++ b/utility.c
@@ -61,6 +61,12 @@ return component; +} - +long int +get_current_time_sec(void) +{ + struct timeval now; + gettimeofday(&now,NULL); + return now.tv_sec; }