Skip to content

Commit

Permalink
core/timeline.md: Add 5 cycle estimate w/ disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
lukego committed Apr 7, 2016
1 parent 3214339 commit da41b8a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/core/timeline.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ that the log always includes a sample of interesting data for
analysis.

Logging to the timeline is efficient. Logging costs around 50 cycles
when a message is enabled. The cost of skipping disabled messages is
much less. The logging function is written in assembly language and is
called by LuaJIT via the FFI. (Checking whether log messages are
enabled is invisible to the trace compiler because it is done in the
FFI call.)
when a message is enabled and around 5 cycles when disabled. The cost
of skipping disabled messages is much less. The logging function is
written in assembly language and is called by LuaJIT via the FFI.
(Checking whether log messages are enabled is invisible to the trace
compiler because it is done in the FFI call.)

#### File format and binary representation

Expand Down

0 comments on commit da41b8a

Please sign in to comment.