English translation
authorstefan <none@none>
Tue, 3 Dec 2002 15:40:40 +0000 (15:40 +0000)
committerstefan <none@none>
Tue, 3 Dec 2002 15:40:40 +0000 (15:40 +0000)
src/mm/memory.c
toolbox/loging.c
toolbox/memory.c

index c15c4011aa31c82086442211bae95b4a398dd105..ec4f3bf5a5ebf8a8a24100063d52740c996c84a9 100644 (file)
@@ -24,9 +24,9 @@
 #include "memory.h"
 
 
-       /********* allgemeine Typen, Variablen und Hilfsfunktionen *********/
+       /********* general types, variables and auxiliary functions *********/
 
-#define DUMPBLOCKSIZE  (2<<18)
+#define DUMPBLOCKSIZE  (2<<21)
 #define ALIGNSIZE           8
 
 typedef struct dumplist {
@@ -111,7 +111,7 @@ void *mem_mmap(int length)
 
 #ifdef DEBUG
 
-       /************ Sichere Version des Speichermanages **************/
+       /************ Memory manager, safe version **************/
 
 
 typedef struct memblock {
@@ -264,7 +264,7 @@ static void mem_characterlog (unsigned char *m, int len)
 }
 
 #else
-               /******* Schnelle Version des Speichermanagers ******/
+               /******* Memory manager, fast version ******/
 
 
 void *mem_alloc(int length)
@@ -337,7 +337,7 @@ void *mem_realloc (void *m1, int len1, int len2)
 
 #endif
 
-               /******* allgemeine Teile des Speichermanagers ******/
+               /******* common memory manager parts ******/
 
 
 
index e4b9f237057dbf1992b6836bd65d4eafbe310ca1..a519515c25f5551e0ac8dda768d758bd507980dc 100644 (file)
 #include "loging.h"
 
 /***************************************************************************
-                        LOGFILE - BEHANDLUNG 
+                        LOG FILE HANDLING 
 ***************************************************************************/
 
-char logtext[MAXLOGTEXT];   /* Musz mit dem gewuenschten Text vor */
-                            /* Aufruf von dolog() beschrieben werden */
+char logtext[MAXLOGTEXT];   /* Needs to be filled with desired text before */
+                            /* call to dolog() */
 
 
 FILE *logfile = NULL;
@@ -42,10 +42,10 @@ void log_init(char *fname)
 
 
 
-/*********************** Funktion: dolog ************************************
+/*********************** Function: dolog ************************************
 
-Gibt den in logtext stehenden Text auf die Protokollierungsdatei
-aus (wenn sie offen ist) und auszerdem auf stdout. 
+Writes the contents of logtext to both the protocol file (if opened) and to
+stdout.
 
 **************************************************************************/
 
@@ -61,7 +61,7 @@ void dolog()
                }
 }
 
-/********************* Funktion: log_text ********************************/
+/********************* Function: log_text ********************************/
 
 void log_text (char *text)
 {
@@ -70,7 +70,7 @@ void log_text (char *text)
 }
 
 
-/********************* Funktion: log_cputime ****************************/
+/********************* Function: log_cputime ****************************/
 
 void log_cputime ()
 {
@@ -88,9 +88,9 @@ void log_cputime ()
 
 
 
-/************************** Funktion: error *******************************
+/************************** Function: error *******************************
 
-Wie dolog(), aber das Programm wird auszerdem sofort terminiert.
+Like dolog(), but terminates the program immediately.
 
 **************************************************************************/
 
@@ -104,9 +104,9 @@ void error()
 }
 
 
-/************************ Funktion: panic (txt) ****************************
+/************************ Function: panic (txt) ****************************
 
-  Wie error(), jedoch wird der auszugebende Text als Argument uebergeben
+  Like error(), takes the text to output as an argument
 
 ***************************************************************************/
 
@@ -117,9 +117,9 @@ void panic(char *txt)
 }
 
 
-/********************** Funktion: getcputime ********************************
+/********************** Function: getcputime ********************************
 
-       liefert die verbrauchte CPU-Zeit im Mikrosekunden
+       Returns the used CPU time in microseconds
        
 ****************************************************************************/
 
index c15c4011aa31c82086442211bae95b4a398dd105..ec4f3bf5a5ebf8a8a24100063d52740c996c84a9 100644 (file)
@@ -24,9 +24,9 @@
 #include "memory.h"
 
 
-       /********* allgemeine Typen, Variablen und Hilfsfunktionen *********/
+       /********* general types, variables and auxiliary functions *********/
 
-#define DUMPBLOCKSIZE  (2<<18)
+#define DUMPBLOCKSIZE  (2<<21)
 #define ALIGNSIZE           8
 
 typedef struct dumplist {
@@ -111,7 +111,7 @@ void *mem_mmap(int length)
 
 #ifdef DEBUG
 
-       /************ Sichere Version des Speichermanages **************/
+       /************ Memory manager, safe version **************/
 
 
 typedef struct memblock {
@@ -264,7 +264,7 @@ static void mem_characterlog (unsigned char *m, int len)
 }
 
 #else
-               /******* Schnelle Version des Speichermanagers ******/
+               /******* Memory manager, fast version ******/
 
 
 void *mem_alloc(int length)
@@ -337,7 +337,7 @@ void *mem_realloc (void *m1, int len1, int len2)
 
 #endif
 
-               /******* allgemeine Teile des Speichermanagers ******/
+               /******* common memory manager parts ******/