diff options
author | Joseph Poirier <jdpoirier@gmail.com> | 2015-01-06 14:56:50 -0600 |
---|---|---|
committer | Joseph Poirier <jdpoirier@gmail.com> | 2015-01-06 14:56:50 -0600 |
commit | 159bbce6d5cf2605f3fbade8807be185a0870657 (patch) | |
tree | 31966a2056329bc4da4b1eb70d3b7f24bd314bb8 /tests/realtimeGC/shared.nim | |
parent | 4e2192fd1cc1f8281a6992e6252df8ce763a9b7c (diff) | |
download | Nim-159bbce6d5cf2605f3fbade8807be185a0870657.tar.gz |
add proper cdm strings and comment out all echos
Diffstat (limited to 'tests/realtimeGC/shared.nim')
-rw-r--r-- | tests/realtimeGC/shared.nim | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/realtimeGC/shared.nim b/tests/realtimeGC/shared.nim index 5da1f1fc2..df11b4ef9 100644 --- a/tests/realtimeGC/shared.nim +++ b/tests/realtimeGC/shared.nim @@ -1,5 +1,5 @@ discard """ - cmd: " nim c shared.nim" + cmd: "nim $target --debuginfo --hints:on --app:lib $options $file" """ import strutils @@ -45,16 +45,16 @@ 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()) |