Changeset a7575a1 in git
- Timestamp:
- Nov 30, 2014, 6:06:19 PM (9 years ago)
- Branches:
- (u'spielwiese', 'e7cc1ebecb61be8b9ca6c18016352af89940b21a')
- Children:
- 78337a8ca92062c661a4ecbf7723e1ef6ed46494
- Parents:
- 73ba505b3214e1ee60c9a3ad8af9475b7e753666
- git-author:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2014-11-30 18:06:19+01:00
- git-committer:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2014-11-30 18:22:50+01:00
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/LIB/schreyer.lib
r73ba50 ra7575a1 2259 2259 exportto(Schreyer, Syzextra::ComputeResolution); 2260 2260 2261 if (defined(NumberStatsInit)) 2262 { 2263 exportto(Top, Syzextra::NumberStatsInit); 2264 exportto(Top, Syzextra::NumberStatsPrint); 2265 } 2261 exportto(Schreyer, Syzextra::NumberStatsInit); 2262 exportto(Schreyer, Syzextra::NumberStatsPrint); 2263 2266 2264 newstruct("SRES","ring r,resolution rsltn"); // http://www.singular.uni-kl.de/Manual/latest/sing_179.htm#SEC218 2267 2265 newstruct("SSYZ","ring r,module szg"); // http://www.singular.uni-kl.de/Manual/latest/sing_179.htm#SEC218 -
Singular/dyn_modules/syzextra/mod_main.cc
r73ba50 ra7575a1 1931 1931 // no args. 1932 1932 // init num stats 1933 #ifdef HAVE_NUMSTATS1934 1933 static BOOLEAN _NumberStatsInit(leftv res, leftv h) 1935 1934 { … … 1950 1949 return FALSE; 1951 1950 } 1952 #endif1953 1951 1954 1952 // maybe one arg. 1955 1953 // print num stats 1956 #ifdef HAVE_NUMSTATS1957 1954 static BOOLEAN _NumberStatsPrint(leftv res, leftv h) 1958 1955 { … … 1973 1970 return FALSE; 1974 1971 } 1975 #endif1976 1972 1977 1973 END_NAMESPACE … … 2033 2029 // ADD("GetAMData", FALSE, GetAMData); 2034 2030 2035 #ifdef HAVE_NUMSTATS2036 2031 ADD("NumberStatsInit", FALSE, _NumberStatsInit); 2037 2032 ADD("NumberStatsPrint", FALSE, _NumberStatsPrint); 2038 #endif2039 2033 2040 2034 // ADD("", FALSE, ); -
libpolys/coeffs/numstats.h
r73ba50 ra7575a1 124 124 #endif 125 125 126 #ifdef HAVE_NUMSTATS127 126 /// set all counters to zero 128 127 static inline void number_stats_Init(const unsigned long defaultvalue = 0) 129 128 { 129 #ifndef HAVE_NUMSTATS 130 WarnS("Please note that number statistic was disabled in compile-time"); 131 (void)(defaultvalue); 132 #else 130 133 extern struct SNumberStatistic number_stats; 131 134 number_stats.Init(defaultvalue); 135 #endif 132 136 } 133 #endif134 137 135 #ifdef HAVE_NUMSTATS136 138 /// print out all counters 137 139 static inline void number_stats_Print(const char * const msg = NULL) 138 140 { 141 #ifndef HAVE_NUMSTATS 142 Warn("Please note that number statistic was disabled in compile-time [message: %s]", msg); 143 #else 139 144 extern struct SNumberStatistic number_stats; 140 145 number_stats.Print(msg); 146 #endif 141 147 } 142 #endif143 148 #endif /* NUMSTAT */ 144 149
Note: See TracChangeset
for help on using the changeset viewer.