From 9191f9047dac322429ebdd83ecf394dec76be506 Mon Sep 17 00:00:00 2001 From: markc Date: Fri, 11 Nov 1994 10:39:07 +0000 Subject: [PATCH] Commented out non-emergency printfs --- rtinst/src/RTetc-posix.c | 6 +++--- rtinst/src/RTposix.c | 6 +++--- rtinst/src/RTsparc.c | 9 ++++++--- rtinst/src/RTunix.c | 7 +++++-- 4 files changed, 17 insertions(+), 11 deletions(-) diff --git a/rtinst/src/RTetc-posix.c b/rtinst/src/RTetc-posix.c index a2f5fff..1963acf 100644 --- a/rtinst/src/RTetc-posix.c +++ b/rtinst/src/RTetc-posix.c @@ -297,8 +297,8 @@ DYNINSTcyclesPerSecond(void) { elapsed = (double) end_cpu - start_cpu; speed = (MILLION*256*LOOP_LIMIT)/elapsed; - printf("elapsed = %f\n", elapsed); - printf("speed = %f\n", speed); + /* printf("elapsed = %f\n", elapsed); */ + /* printf("speed = %f\n", speed); */ return speed; } @@ -596,7 +596,7 @@ DYNINSTinit(int doskip) { DYNINST_install_ualarm(val, val); - printf("Time at main %g us\n", (double) DYNINSTgetCPUtime()); + /* printf("Time at main %g us\n", (double) DYNINSTgetCPUtime()); */ if (!doskip) { DYNINSTbreakPoint(); } diff --git a/rtinst/src/RTposix.c b/rtinst/src/RTposix.c index a2f5fff..1963acf 100644 --- a/rtinst/src/RTposix.c +++ b/rtinst/src/RTposix.c @@ -297,8 +297,8 @@ DYNINSTcyclesPerSecond(void) { elapsed = (double) end_cpu - start_cpu; speed = (MILLION*256*LOOP_LIMIT)/elapsed; - printf("elapsed = %f\n", elapsed); - printf("speed = %f\n", speed); + /* printf("elapsed = %f\n", elapsed); */ + /* printf("speed = %f\n", speed); */ return speed; } @@ -596,7 +596,7 @@ DYNINSTinit(int doskip) { DYNINST_install_ualarm(val, val); - printf("Time at main %g us\n", (double) DYNINSTgetCPUtime()); + /* printf("Time at main %g us\n", (double) DYNINSTgetCPUtime()); */ if (!doskip) { DYNINSTbreakPoint(); } diff --git a/rtinst/src/RTsparc.c b/rtinst/src/RTsparc.c index 0e3b89a..6ea9b23 100644 --- a/rtinst/src/RTsparc.c +++ b/rtinst/src/RTsparc.c @@ -4,7 +4,10 @@ * functions for a normal Sparc with SUNOS. * * $Log: RTsparc.c,v $ - * Revision 1.6 1994/09/20 18:25:00 hollings + * Revision 1.7 1994/11/11 10:39:10 markc + * Commented out non-emergency printfs + * + * Revision 1.6 1994/09/20 18:25:00 hollings * removed call to getcmd since it was causing a SS-5 slow down. * * Revision 1.5 1994/07/14 23:34:08 hollings @@ -416,8 +419,8 @@ float DYNINSTgetClock() elapsed = (endF-startF)/((double) MILLION); clockSpeed = (256*LOOP_LIMIT)/elapsed/MILLION; - printf("elapsed = %f\n", elapsed); - printf("clockSpeed = %f\n", clockSpeed); + /* printf("elapsed = %f\n", elapsed); */ + /* printf("clockSpeed = %f\n", clockSpeed); */ return(clockSpeed); } diff --git a/rtinst/src/RTunix.c b/rtinst/src/RTunix.c index 7c0c966..d5d50f7 100644 --- a/rtinst/src/RTunix.c +++ b/rtinst/src/RTunix.c @@ -3,7 +3,10 @@ * functions for a processor running UNIX. * * $Log: RTunix.c,v $ - * Revision 1.20 1994/10/09 21:26:05 hollings + * Revision 1.21 1994/11/11 10:39:14 markc + * Commented out non-emergency printfs + * + * Revision 1.20 1994/10/09 21:26:05 hollings * Fixed cycles to time conversion. * * Revision 1.19 1994/09/20 18:26:51 hollings @@ -670,6 +673,6 @@ float DYNINSTcyclesPerSecond() } } pclose(fp); - printf(line, "Clock = %d\n", speed); + /* printf(line, "Clock = %d\n", speed); */ return(speed); } -- 1.8.3.1