diff options
author | Araq <rumpf_a@web.de> | 2012-09-17 00:31:41 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2012-09-17 00:31:41 +0200 |
commit | 75abf7250325d90a74189ea7e4852d36c3fdd67c (patch) | |
tree | 8f58e79a9330420722f6712fb27eeae59ef4fc4b /lib/system/sysio.nim | |
parent | ad6ee9e85723a742fe76e6903a63f2796136fe98 (diff) | |
download | Nim-75abf7250325d90a74189ea7e4852d36c3fdd67c.tar.gz |
profiler improvements
Diffstat (limited to 'lib/system/sysio.nim')
-rwxr-xr-x | lib/system/sysio.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system/sysio.nim b/lib/system/sysio.nim index 9f7866fdc..02a5893d3 100755 --- a/lib/system/sysio.nim +++ b/lib/system/sysio.nim @@ -224,7 +224,7 @@ proc ReadBytes(f: TFile, a: var openarray[int8], start, len: int): int = proc ReadChars(f: TFile, a: var openarray[char], start, len: int): int = result = readBuffer(f, addr(a[start]), len) -{.push stackTrace:off.} +{.push stackTrace:off, profiler:off.} proc writeBytes(f: TFile, a: openarray[int8], start, len: int): int = var x = cast[ptr array[0..1000_000_000, int8]](a) result = writeBuffer(f, addr(x[start]), len) |