Changes: Christian Thalinger
- $Id: logging.c 2508 2005-05-23 08:50:25Z twisti $
+ $Id: logging.c 3183 2005-09-15 20:07:37Z twisti $
*/
}
-/* log_cputime *****************************************************************
-
- XXX
-
-*******************************************************************************/
-
-#if defined(STATISTICS)
-void log_cputime(void)
-{
- s8 t;
- int sec, usec;
- char logtext[MAXLOGTEXT];
-
- t = getcputime();
- sec = t / 1000000;
- usec = t % 1000000;
-
- sprintf(logtext, "Total CPU usage: %d seconds and %d milliseconds",
- sec, usec / 1000);
- log_text(logtext);
-}
-#endif
-
-
/* log_message_utf *************************************************************
Outputs log text like this:
Changes: Christan Thalinger
- $Id: logging.h 2508 2005-05-23 08:50:25Z twisti $
+ $Id: logging.h 3183 2005-09-15 20:07:37Z twisti $
*/
/* newline and fflush */
void log_nl(void);
-#if defined(STATISTICS)
-void log_cputime(void);
-#endif
-
/* log message functions */
void log_message_utf(const char *msg, utf *u);
void log_message_class(const char *msg, classinfo *c);