Change bold code snippets to inline code blocks
This commit is contained in:
parent
f658bfbb40
commit
3c76d884ef
185 changed files with 1772 additions and 1772 deletions
6
03-06.md
6
03-06.md
|
|
@ -107,7 +107,7 @@ repetitions of a given instruction are timed, there's just too much
|
|||
noise in the timing process—between dynamic RAM refresh, the prefetch
|
||||
queue, and the internal state of the processor at the start of
|
||||
timing—for that last digit to have any significance.) Given the test
|
||||
PC's 4.77 MHz clock, this works out to about 17 cycles per **MOV**,
|
||||
PC's 4.77 MHz clock, this works out to about 17 cycles per `MOV`,
|
||||
which is actually a good bit longer than Intel's specified 10-cycle
|
||||
execution time for this instruction. (See the MASM or TASM
|
||||
documentation, or Intel's processor reference manuals, for official
|
||||
|
|
@ -127,8 +127,8 @@ pztime <filename>
|
|||
In fact, that's exactly how I timed each of the listings in this book.
|
||||
Code fragments you write yourself can be timed in just the same way. If
|
||||
you wish to time code directly in place in your programs, rather than in
|
||||
the test-bed program of Listing 3.2, simply insert calls to **ZTimerOn,
|
||||
ZTimerOff**, and **ZTimerReport** in the appropriate places and link
|
||||
the test-bed program of Listing 3.2, simply insert calls to `ZTimerOn,
|
||||
ZTimerOff`, and `ZTimerReport` in the appropriate places and link
|
||||
PZTIMER to your program.
|
||||
|
||||
### The Long-Period Zen Timer {#Heading12}
|
||||
|
|
|
|||
Loading…
Reference in a new issue