summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--tests/realtimeGC/main.c6
-rw-r--r--tests/realtimeGC/main.nim2
-rw-r--r--tests/realtimeGC/shared.nim8
3 files changed, 8 insertions, 8 deletions
diff --git a/tests/realtimeGC/main.c b/tests/realtimeGC/main.c
index a7ac19dda..bbe80b23d 100644
--- a/tests/realtimeGC/main.c
+++ b/tests/realtimeGC/main.c
@@ -10,7 +10,7 @@
 #include <assert.h>
 #include <time.h>
 
-#define RUNTIME (35*60)
+#define RUNTIME (15*60)
 
 
 typedef void (*pFunc)(void);
@@ -46,11 +46,11 @@ int main(int argc, char* argv[])
     while (accumTime < runTime) {
         for (i = 0; i < 10; i++)
             count();
-        printf("1. sleeping...\n");
+        /* printf("1. sleeping...\n"); */
         sleep(1);
         for (i = 0; i < 10; i++)
             status();
-        printf("2. sleeping...\n");
+        /* printf("2. sleeping...\n"); */
         sleep(1);
         occupiedMem();
         accumTime = time((time_t*)0) - startTime;
diff --git a/tests/realtimeGC/main.nim b/tests/realtimeGC/main.nim
index 5496cd999..d2d404271 100644
--- a/tests/realtimeGC/main.nim
+++ b/tests/realtimeGC/main.nim
@@ -6,7 +6,7 @@ discard """
 import times
 import os
 
-const RUNTIME = 35 * 60 # 35 minutes
+const RUNTIME = 15 * 60 # 15 minutes
 
 when defined(windows):
   const dllname = "./shared.dll"
diff --git a/tests/realtimeGC/shared.nim b/tests/realtimeGC/shared.nim
index 345051bb5..c8a70e1ee 100644
--- a/tests/realtimeGC/shared.nim
+++ b/tests/realtimeGC/shared.nim
@@ -45,17 +45,17 @@ proc status() {.exportc: "status", dynlib.} =
   var a = getComm1Status()
   var b = getComm2Status()
   var str2: string = "$1  COM1: $2  COM2: $3" % [ptt_status, a, b]
-  #echo(str1)
-  #echo(str2)
+  # echo(str1)
+  # echo(str2)
 
 proc count() {.exportc: "count", dynlib.} =
   var temp: uint64
   for i in 0..100_000:
     temp += 1
   gCounter += 1
-  #echo("gCounter: ", gCounter)
+  # echo("gCounter: ", gCounter)
 
 proc occupiedMem() {.exportc: "occupiedMem", dynlib.} =
-  #echo("Occupied Memmory: ", getOccupiedMem())
+  echo("Occupied Memmory: ", getOccupiedMem())
   discard