Commit 0d94aae9 authored by Benjamin Summerton's avatar Benjamin Summerton

Better variable name in example

parent ffe30558
......@@ -84,7 +84,7 @@ for y in countup(0, imgHeight - 1):
let firstPixelTime = sw.lap(0).msecs # Gets time in milliseconds
# Total time (all laps) in microseconds
let nanos = sw.totalUsecs
let micros = sw.totalUsecs
# Get each lap's time into seconds from nanoseconds (as a seq[float])
let lapsSecs = sw.laps.map(proc(x: int64): float = secs(x))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment