Changeset 54c713 in git
- Timestamp:
- Apr 21, 1998, 12:43:22 PM (25 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
- Children:
- 331d542622a081414dc51131c5489e4e7d6d5ba3
- Parents:
- 142b7b541ca90ee57fa4fdbb939c0550b008661c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/extra.cc
r142b7b r54c713 2 2 * Computer Algebra System SINGULAR * 3 3 *****************************************/ 4 /* $Id: extra.cc,v 1.3 7 1998-04-16 16:10:13 obachmanExp $ */4 /* $Id: extra.cc,v 1.38 1998-04-21 10:43:22 schmidt Exp $ */ 5 5 /* 6 6 * ABSTRACT: general interface to internals of Singular ("system" command) … … 65 65 #include "silink.h" 66 66 #include "mpsr.h" 67 68 // see clapsing.cc for a description of the `FACTORY_*' options 69 70 #ifdef FACTORY_GCD_STAT 71 #define FACTORY_GCD_TEST 72 #endif 73 74 #ifdef FACTORY_GCD_TIMING 75 #define FACTORY_GCD_TEST 76 #define TIMING 77 #include "timing.h" 78 TIMING_DEFINE_PRINTPROTO( contentTimer ); 79 TIMING_DEFINE_PRINTPROTO( algContentTimer ); 80 TIMING_DEFINE_PRINTPROTO( algLcmTimer ); 81 #endif 67 82 68 83 //void emStart(); … … 700 715 } 701 716 else 717 #ifdef FACTORY_GCD_TEST 718 /*=======================gcd Testerei ================================*/ 719 if ( ! strcmp( (char*)(h->Data()), "setgcd" ) ) { 720 if ( (h->next != NULL) && (h->next->Typ() == INT_CMD) ) { 721 CFPrimitiveGcdUtil::setAlgorithm( (int)h->next->Data() ); 722 return FALSE; 723 } else 724 WerrorS("int expected"); 725 } 726 else 727 #endif 728 729 #ifdef FACTORY_GCD_TIMING 730 if ( ! strcmp( (char*)(h->Data()), "gcdtime" ) ) { 731 TIMING_PRINT( contentTimer, "time used for content: " ); 732 TIMING_PRINT( algContentTimer, "time used for algContent: " ); 733 TIMING_PRINT( algLcmTimer, "time used for algLcm: " ); 734 TIMING_RESET( contentTimer ); 735 TIMING_RESET( algContentTimer ); 736 TIMING_RESET( algLcmTimer ); 737 return FALSE; 738 } 739 else 740 #endif 741 702 742 /*============================================================*/ 703 743 WerrorS( feNotImplemented );
Note: See TracChangeset
for help on using the changeset viewer.