* log_cputime: Removed (unused).
authortwisti <none@none>
Thu, 15 Sep 2005 20:07:37 +0000 (20:07 +0000)
committertwisti <none@none>
Thu, 15 Sep 2005 20:07:37 +0000 (20:07 +0000)
src/toolbox/logging.c
src/toolbox/logging.h

index daa77b2216392244d8fbf7b5f3ba1ec805644405..e3c6d408dde3ef72964f55c834bcb79f02f14ba1 100644 (file)
@@ -28,7 +28,7 @@
 
    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 $
 
 */
 
@@ -176,30 +176,6 @@ void log_nl(void)
 }
 
 
-/* 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:
index 5783e4120a719bd889efe0546617e5262b351208..961f8982e97aecc825023f0c45bd1942332cc404 100644 (file)
@@ -28,7 +28,7 @@
 
    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 $
 
 */
 
@@ -64,10 +64,6 @@ void log_flush(void);
 /* 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);