IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 21, 2005, 11:37:21 AM (21 years ago)
Author:
drobbin
Message:

Updated/added psTimer fxns and psVectorCreate (and tests)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/astro/psTime.h

    r5083 r5087  
    1111 *  @author Ross Harman, MHPCC
    1212 *
    13  *  @version $Revision: 1.40 $ $Name: not supported by cvs2svn $
    14  *  @date $Date: 2005-09-21 02:11:16 $
     13 *  @version $Revision: 1.41 $ $Name: not supported by cvs2svn $
     14 *  @date $Date: 2005-09-21 21:37:20 $
    1515 *
    1616 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    375375char* p_psGetConfigFileName();
    376376
     377/**
     378 *
     379 *
     380 *
     381 */
    377382psF64 p_psTimeSearchTables(
    378     psF64 index,
    379     psU64 column,
    380     char *metadataTableNames[],
    381     psU32 nTables,
    382     psLookupStatusType* status
    383 );
    384 
     383    psF64 index,                       ///<
     384    psU64 column,                      ///<
     385    char *metadataTableNames[],        ///<
     386    psU32 nTables,                     ///<
     387    psLookupStatusType* status         ///<
     388);
     389
     390/** Stores the current time in a psHash of timers, under the supplied name.
     391 *
     392 *  @return bool:       True if successful, otherwise false.
     393 */
    385394bool psTimerStart(
    386     char *name
    387 );
    388 
     395    char *name                         ///< timer name to start
     396);
     397
     398/** Resets the named timer.
     399 *
     400 *  @return psF64:      The time elapsed since start.
     401 */
    389402psF64 psTimerClear(
    390     char *name
    391 );
    392 
     403    char *name                         ///< timer name to clear
     404);
     405
     406/** Returns the elapsed time, in seconds, for the timer specified by name.
     407 *
     408 *  @return psF64:      The elapsed time in seconds since timer start.
     409 */
    393410psF64 psTimerMark(
    394     char *name
    395 );
    396 
     411    char *name                        ///< timer name to mark
     412);
     413
     414/** Frees all memory associated with all timers and returns the expended time.
     415 *
     416 *  @return psF64:      The maximum time expended.
     417 */
    397418psF64 psTimerStop(void);
    398419
Note: See TracChangeset for help on using the changeset viewer.