Changeset 80b6d36 in git
- Timestamp:
- Dec 15, 2014, 6:41:24 PM (9 years ago)
- Branches:
- (u'spielwiese', 'd0474371d8c5d8068ab70bfb42719c97936b18a6')
- Children:
- 2206753e05a96ad86c2ff231f55a8d71d57edeaedd46a1144a438c234ed7d1f8259d5a7431b5efff
- Parents:
- 6e7a34ced596a7ef94c83c0dc1f13330d700a46e
- git-author:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2014-12-15 18:41:24+01:00
- git-committer:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2014-12-15 18:45:59+01:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/coeffs/numstats.h
r6e7a34c r80b6d36 104 104 } 105 105 106 inline void Print( const char * const msg = NULL) const106 inline void Print() const 107 107 { 108 ::Print("%s:\n", (msg == NULL) ? "Statistic about number operations" : msg);109 110 108 #define _P(F) if(this->F > 0) ::Print("%21s: %13lu\n", # F, this->F) 111 109 ALL_STATISTIC(_P); 112 110 _P(n_CancelOut); 113 111 #undef _P 114 ::PrintLn();115 112 } 116 113 … … 128 125 { 129 126 #ifndef HAVE_NUMSTATS 130 WarnS("Please note that number statistic was disabled in compile-time");127 WarnS("Please enable NUMSTATS first!"); 131 128 (void)(defaultvalue); 132 129 #else … … 139 136 static inline void number_stats_Print(const char * const msg = NULL) 140 137 { 138 ::Print("%s:\n", (msg == NULL) ? "Statistic about number operations" : msg); 141 139 #ifndef HAVE_NUMSTATS 142 Warn ("Please note that number statistic was disabled in compile-time [message: %s]", msg);140 WarnS("Please enable NUMSTATS first!"); 143 141 #else 144 142 extern struct SNumberStatistic number_stats; 145 number_stats.Print( msg);143 number_stats.Print(); 146 144 #endif 145 ::PrintLn(); 147 146 } 148 147 #endif /* NUMSTAT */
Note: See TracChangeset
for help on using the changeset viewer.