Changeset 1c452c in git
- Timestamp:
- Apr 28, 1998, 10:39:43 AM (25 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
- Children:
- 03b1cd154a2fe6add1494118867469ccb90ced82
- Parents:
- 34b4d9c6f483de571b0609f39200b5e9baec47ae
- Location:
- Singular
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/ChangeLog
r34b4d9 r1c452c 1 1998-04-28 Olaf Bachmann <obachman@mathematik.uni-kl.de> 2 3 * kstd2.cc (redHomog): Some more ouput for KDEBUG && TEST_OPT_DEBUG 4 5 * mminit.cc: introduced memory(2) which measures physical memory 6 consumption using the system call sbrk (this never lies!) 7 1 8 Mon Apr 27 18:07:21 MET DST 1998 hannes 2 9 * use ReAlloc for enlargeT, enlargeL (kutil.cc) -
Singular/configure
r34b4d9 r1c452c 3475 3475 fi 3476 3476 3477 for ac_func in gettimeofday atexit bcopy getcwd getwd 3477 for ac_func in gettimeofday atexit bcopy getcwd getwd sbrk 3478 3478 do 3479 3479 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -
Singular/configure.in
r34b4d9 r1c452c 430 430 AC_TYPE_SIGNAL 431 431 AC_FUNC_VPRINTF 432 AC_CHECK_FUNCS(gettimeofday atexit bcopy getcwd getwd )432 AC_CHECK_FUNCS(gettimeofday atexit bcopy getcwd getwd sbrk) 433 433 434 434 dnl -
Singular/iparith.cc
r34b4d9 r1c452c 2495 2495 res->data = (char *)mmMemReal(); 2496 2496 break; 2497 #ifdef HAVE_SBRK 2498 case 2: 2499 res->data = (char *)mmMemPhysical(); 2500 break; 2501 #endif 2497 2502 default: 2498 2503 #ifdef MM_STAT -
Singular/kstd2.cc
r34b4d9 r1c452c 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: kstd2.cc,v 1.1 7 1998-04-23 09:52:10 SingularExp $ */4 /* $Id: kstd2.cc,v 1.18 1998-04-28 08:39:40 obachman Exp $ */ 5 5 /* 6 6 * ABSTRACT - Kernel: alg. of Buchberger … … 194 194 * and the case of a degree-ordering 195 195 */ 196 #ifdef KDEBUG 197 static reductions = 0; 198 #endif 199 196 200 static void redHomog (LObject* h,kStrategy strat) 197 201 { … … 222 226 { 223 227 #ifdef KDEBUG 228 reductions++; 224 229 if (TEST_OPT_DEBUG) 225 230 { 226 Print S("+\nwith ");231 Print("+\n%d:with ", reductions); 227 232 wrp(strat->S[j]); 228 233 } … … 267 272 { 268 273 #ifdef KDEBUG 274 reductions++; 269 275 if (TEST_OPT_DEBUG) 270 276 { 271 Print S("+\nwith ");277 Print("+\n%d:with ",reductions); 272 278 wrp(strat->S[j]); 273 279 } … … 288 294 return; 289 295 } 296 #ifdef KDEBUG 297 if (TEST_OPT_DEBUG) 298 { 299 Print(" to %d:", pLength((*h).p)); 300 wrp((*h).p); 301 PrintS("\n"); 302 } 303 #endif 290 304 j = 0; 291 305 } -
Singular/mmemory.h
r34b4d9 r1c452c 4 4 * Computer Algebra System SINGULAR * 5 5 ****************************************/ 6 /* $Id: mmemory.h,v 1. 7 1998-04-27 09:37:31 pohlExp $ */6 /* $Id: mmemory.h,v 1.8 1998-04-28 08:39:40 obachman Exp $ */ 7 7 /* 8 8 * ABSTRACT … … 46 46 int mmMemReal( void ); 47 47 int mmMemUsed( void ); 48 #ifdef HAVE_SBRK 49 int mmMemPhysical( void ); 50 #endif 48 51 49 52 #define mstrdup mmStrdup -
Singular/mminit.cc
r34b4d9 r1c452c 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: mminit.cc,v 1. 8 1998-04-27 10:03:07 pohlExp $ */4 /* $Id: mminit.cc,v 1.9 1998-04-28 08:39:41 obachman Exp $ */ 5 5 /* 6 6 * ABSTRACT: init of memory management … … 151 151 #endif 152 152 153 #ifdef HAVE_SBRK 154 #include <unistd.h> 155 static unsigned long mm_SbrkInit = sbrk(0); 156 #endif 157 153 158 int mmInit(); 154 159 static int mmIsInitialized=mmInit(); -
Singular/mod2.h.in
r34b4d9 r1c452c 73 73 /* Define if you have the getwd function. */ 74 74 #undef HAVE_GETWD 75 /* Define if you have sbrk */ 76 #undef HAVE_SBRK 75 77 /* Define sizeof(char) */ 76 78 #define SIZEOF_CHAR 1
Note: See TracChangeset
for help on using the changeset viewer.