summary refs log tree commit diff stats
path: root/lib/pure/nimprof.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2014-02-10 17:12:25 +0100
committerAraq <rumpf_a@web.de>2014-02-10 17:12:25 +0100
commit007d17ce3f28dda72f26df4298bba438f76edd15 (patch)
tree854820cfacb1b37ed2cb17986c7d8f05846008fd /lib/pure/nimprof.nim
parent5d939570488706553bdb3dc58d7902e454cd6de4 (diff)
downloadNim-007d17ce3f28dda72f26df4298bba438f76edd15.tar.gz
more things case consistent
Diffstat (limited to 'lib/pure/nimprof.nim')
-rw-r--r--lib/pure/nimprof.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pure/nimprof.nim b/lib/pure/nimprof.nim
index 02f0366cd..3d0cc2154 100644
--- a/lib/pure/nimprof.nim
+++ b/lib/pure/nimprof.nim
@@ -67,7 +67,7 @@ when withThreads:
 
 proc hookAux(st: TStackTrace, costs: int) =
   # this is quite performance sensitive!
-  when withThreads: Acquire profilingLock
+  when withThreads: acquire profilingLock
   inc totalCalls
   var last = high(st)
   while last > 0 and isNil(st[last]): dec last
@@ -106,7 +106,7 @@ proc hookAux(st: TStackTrace, costs: int) =
       h = ((5 * h) + 1) and high(profileData)
       inc chain
     maxChainLen = max(maxChainLen, chain)
-  when withThreads: Release profilingLock
+  when withThreads: release profilingLock
 
 when defined(memProfiler):
   const