Changeset 02a069e in git for Singular/extra.cc


Ignore:
Timestamp:
Aug 6, 2009, 12:18:33 PM (14 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
Children:
424cd646332e11e54c822873f6276ff3ddcb8751
Parents:
f60485dae160ea69a455571578bb2877fbc73226
Message:
*hannes: code cleanup


git-svn-id: file:///usr/local/Singular/svn/trunk@12047 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/extra.cc

    rf60485d r02a069e  
    22*  Computer Algebra System SINGULAR      *
    33*****************************************/
    4 /* $Id: extra.cc,v 1.311 2009-07-28 15:16:04 Singular Exp $ */
     4/* $Id: extra.cc,v 1.312 2009-08-06 10:18:00 Singular Exp $ */
    55/*
    66* ABSTRACT: general interface to internals of Singular ("system" command)
     
    160160#endif
    161161
    162 
    163 // see clapsing.cc for a description of the `FACTORY_*' options
    164 
    165 #ifdef FACTORY_GCD_STAT
    166 #include "gcd_stat.h"
    167 #endif
    168 
    169 #ifdef FACTORY_GCD_TIMING
    170 #define TIMING
    171 #include "timing.h"
    172 TIMING_DEFINE_PRINTPROTO( contentTimer );
    173 TIMING_DEFINE_PRINTPROTO( algContentTimer );
    174 TIMING_DEFINE_PRINTPROTO( algLcmTimer );
    175 #endif
    176162
    177163void piShowProcList();
     
    22872273    else
    22882274#endif
    2289 /*=======================gcd Testerei ================================*/
    2290 #ifdef FACTORY_GCD_TEST
    2291     if ( ! strcmp( sys_cmd, "setgcd" ) )
    2292     {
    2293         if ( (h != NULL) && (h->Typ() == INT_CMD) )
    2294         {
    2295             CFPrimitiveGcdUtil::setAlgorithm( (int)h->Data() );
    2296             return FALSE;
    2297         } else
    2298             WerrorS("int expected");
    2299     }
    2300     else
    2301 #endif
    2302 
    2303 #ifdef FACTORY_GCD_TIMING
    2304     if ( ! strcmp( sys_cmd, "gcdtime" ) )
    2305     {
    2306         TIMING_PRINT( contentTimer, "time used for content: " );
    2307         TIMING_PRINT( algContentTimer, "time used for algContent: " );
    2308         TIMING_PRINT( algLcmTimer, "time used for algLcm: " );
    2309         TIMING_RESET( contentTimer );
    2310         TIMING_RESET( algContentTimer );
    2311         TIMING_RESET( algLcmTimer );
    2312         return FALSE;
    2313     }
    2314     else
    2315 #endif
    2316 
    2317 #ifdef FACTORY_GCD_STAT
    2318     if ( ! strcmp( sys_cmd, "gcdstat" ) )
    2319     {
    2320         printGcdTotal();
    2321         printContTotal();
    2322         resetGcdTotal();
    2323         resetContTotal();
    2324         return FALSE;
    2325     }
    2326     else
    2327 #endif
    23282275/*==================== listall ===================================*/
    23292276    if(strcmp(sys_cmd,"listall")==0)
Note: See TracChangeset for help on using the changeset viewer.