Changeset 3706
- Timestamp:
- Apr 18, 2005, 1:40:15 PM (21 years ago)
- Location:
- trunk/psLib
- Files:
-
- 5 edited
-
src/astro/psTime.c (modified) (2 diffs)
-
src/astro/psTime.h (modified) (2 diffs)
-
src/astronomy/psTime.c (modified) (2 diffs)
-
src/astronomy/psTime.h (modified) (2 diffs)
-
test/astronomy/tst_psTime_01.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/astro/psTime.c
r3705 r3706 10 10 * @author Ross Harman, MHPCC 11 11 * 12 * @version $Revision: 1.5 6$ $Name: not supported by cvs2svn $13 * @date $Date: 2005-04-18 23: 30:54$12 * @version $Revision: 1.57 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2005-04-18 23:40:15 $ 14 14 * 15 15 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 369 369 } 370 370 371 psTime* psTimeGet Time(psTimeType type)371 psTime* psTimeGetNow(psTimeType type) 372 372 { 373 373 struct timeval now; -
trunk/psLib/src/astro/psTime.h
r3705 r3706 10 10 * @author Ross Harman, MHPCC 11 11 * 12 * @version $Revision: 1.2 4$ $Name: not supported by cvs2svn $13 * @date $Date: 2005-04-18 23: 30:54$12 * @version $Revision: 1.25 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2005-04-18 23:40:15 $ 14 14 * 15 15 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 92 92 * @return psTime*: Struct with current time. 93 93 */ 94 psTime* psTimeGet Time(94 psTime* psTimeGetNow( 95 95 psTimeType type ///< Type of time to get (UTC or TAI). 96 96 ); -
trunk/psLib/src/astronomy/psTime.c
r3705 r3706 10 10 * @author Ross Harman, MHPCC 11 11 * 12 * @version $Revision: 1.5 6$ $Name: not supported by cvs2svn $13 * @date $Date: 2005-04-18 23: 30:54$12 * @version $Revision: 1.57 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2005-04-18 23:40:15 $ 14 14 * 15 15 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 369 369 } 370 370 371 psTime* psTimeGet Time(psTimeType type)371 psTime* psTimeGetNow(psTimeType type) 372 372 { 373 373 struct timeval now; -
trunk/psLib/src/astronomy/psTime.h
r3705 r3706 10 10 * @author Ross Harman, MHPCC 11 11 * 12 * @version $Revision: 1.2 4$ $Name: not supported by cvs2svn $13 * @date $Date: 2005-04-18 23: 30:54$12 * @version $Revision: 1.25 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2005-04-18 23:40:15 $ 14 14 * 15 15 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 92 92 * @return psTime*: Struct with current time. 93 93 */ 94 psTime* psTimeGet Time(94 psTime* psTimeGetNow( 95 95 psTimeType type ///< Type of time to get (UTC or TAI). 96 96 ); -
trunk/psLib/test/astronomy/tst_psTime_01.c
r3705 r3706 23 23 * @author Ross Harman, MHPCC 24 24 * 25 * @version $Revision: 1.2 2$ $Name: not supported by cvs2svn $26 * @date $Date: 2005-04-18 23: 30:54$25 * @version $Revision: 1.23 $ $Name: not supported by cvs2svn $ 26 * @date $Date: 2005-04-18 23:40:15 $ 27 27 * 28 28 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 50 50 printPositiveTestHeader(stdout,"psTime", "Get current TAI time"); 51 51 psTime *timeA = NULL; 52 timeA = psTimeGet Time(PS_TIME_TAI);52 timeA = psTimeGetNow(PS_TIME_TAI); 53 53 psFree(timeA); 54 54 printFooter(stdout, "psTime", "Get current TAI time", true);
Note:
See TracChangeset
for help on using the changeset viewer.
