Skip to content

Commit

Permalink
fix preexisting typo
Browse files Browse the repository at this point in the history
  • Loading branch information
timotheecour committed Jan 9, 2019
1 parent 5a8a2c1 commit 6b9fb6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/system/profiler.nim
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# code generator. The idea is to inject the instruction stream
# with 'nimProfile()' calls. These calls are injected at every loop end
# (except perhaps loops that have no side-effects). At every Nth call a
# stack trace is taken. A stack tace is a list of cstrings.
# stack trace is taken. A stack trace is a list of cstrings.

when defined(profiler) and defined(memProfiler):
{.error: "profiler and memProfiler cannot be defined at the same time (See Embedded Stack Trace Profiler (ESTP) User Guide) for more details".}
Expand All @@ -26,7 +26,7 @@ type
lines*: array[0..MaxTraceLen-1, cstring]
files*: array[0..MaxTraceLen-1, cstring]
#[
TODO(minor):
todo(minor):
* rename to loc after renaming `lines` to procnames
* make StackTrace = object: entry: array[0..MaxTraceLen-1, StackTraceEntry]
with some StackTraceEntry object
Expand Down

0 comments on commit 6b9fb6f

Please sign in to comment.