clustal-omega-1.2.4/src/clustal/progress.c
/**
 * @brief Finishes progress output by printing the elapsed time
 *
 * @param[in] prProgress
 * Pointer to the progress structure
 *
 */
@brief Finishes progress output by printing the elapsed time

@param[in] prProgress
Pointer to the progress structure
@brief Finishes progress output by printing the elapsed time @param [ in ] prProgress Pointer to the progress structure
void
ProgressDone(progress_t *prProgress)
{
    char pcBuf[1024];
    if (rLog.iLogLevelEnabled>LOGLEVEL_THRESHOLD) {
        return;
    }
    (void) snprintf(pcBuf, sizeof(pcBuf), "%s done. CPU time: ", 
                    prProgress->pcPrefix);
    StopwatchStop(prProgress->prStopwatch);
    StopwatchDisplay(prProgress->prFile, pcBuf, prProgress->prStopwatch);
    (void) fflush(prProgress->prFile);
    return; 
}
void ProgressDone ( progress_t * prProgress ) { char pcBuf [ 1024 ] ; if ( rLog . iLogLevelEnabled > LOGLEVEL_THRESHOLD ) { return ; } ( void ) snprintf ( pcBuf , sizeof ( pcBuf ) , " " , prProgress -> pcPrefix ) ; StopwatchStop ( prProgress -> prStopwatch ) ; StopwatchDisplay ( prProgress -> prFile , pcBuf , prProgress -> prStopwatch ) ; ( void ) fflush ( prProgress -> prFile ) ; return ; }
@brief Finishes progress output by printing the elapsed time
@brief Finishes progress output by printing the elapsed time