Changeset b39d4d in git for Singular/omSingularConfig.h


Ignore:
Timestamp:
Dec 18, 2000, 4:44:42 PM (23 years ago)
Author:
Olaf Bachmann <obachman@…>
Branches:
(u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
Children:
e3dc1cc75eb8813142d38ad4d5b8638f5748228a
Parents:
6a9b5a892f6ba5ac58be777a540985149140afae
Message:
Dec alpha port


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

Legend:

Unmodified
Added
Removed
  • Singular/omSingularConfig.h

    r6a9b5a rb39d4d  
    88 *  Author:  obachman@mathematik.uni-kl.de (Olaf Bachmann)
    99 *  Created: 8/00
    10  *  Version: $Id: omSingularConfig.h,v 1.2 2000-08-24 14:42:42 obachman Exp $
     10 *  Version: $Id: omSingularConfig.h,v 1.3 2000-12-18 15:44:42 obachman Exp $
    1111 *******************************************************************/
    1212#ifndef OM_SINGULAR_CONFIG_H
     
    3434#endif
    3535
    36 /* number of bytes for difference to report */
    37 #define SING_REPORT_THRESHOLD 100*1024
     36/* number of bytes for difference to report: every 1 MByte */
     37#define SING_REPORT_THRESHOLD 1000*1024
    3838#define OM_SINGULAR_HOOK                                                        \
    3939do                                                                              \
     
    4848    if (_diff >= SING_REPORT_THRESHOLD)                                         \
    4949    {                                                                           \
    50       fprintf(stdout, "[%dk]", (_current_bytes + 1023)/1024);                   \
     50      fprintf(stdout, "[%ldk]", (_current_bytes + 1023)/1024);                   \
    5151      fflush(stdout);                                                           \
    5252      om_sing_last_reported_size = _current_bytes;                              \
Note: See TracChangeset for help on using the changeset viewer.