🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #4309

Re: how to get the most accurate program timings

#4309
From: Raymond Chen
Date: Tue, 22 Jan 1991 01:30
39 lines
2214 bytes
In article <9101220039.AA06964@yin.cpac.washington.edu>, fester@CPAC writes:
>What is the best way to get really accurate program timings ?  

Most people will refer you to the book `The Zen of Assembler'.  Here
are the reviews it has received from the net.

@book{ma:zen
    author = "Michael Abrash",
    title = "The {Z}en of Assembler",
    publisher = {Scott, Foresman and Company},
    address = {Glenview, Illinois},
    year = 1990,
    ISBN = {0-673-38602-3}
}

    Volume 2 is scheduled for sometime in 1990.

    "A good discussion of reprogramming timer 0 in Chapter 2." 
        -- David J. Birnbaum (djb@wjh12.harvard.edu)

    "A super accurate timer is presented (actually a short- and a long-term
     timer) along with an explanation of their operation."
	-- John Mitchell (johnm@sim.Berkeley.EDU)

   "Abrash actually develops two timers in his book.  The higher accuracy
    timer requires you to turn off all interupts.  Its primary purpose is
    to time small sections of assembly code.  For timing full programs Abrash
    has a long term timer of more questionable accuracy.  However, it is still
    a book that anyone with more than a passing interest in assembly should
    read.  ... If you are considering learning assembly you might look at this
    series."
        --- Tom Webb (webb@uhccux.uhcc.Hawaii.Edu)

--------------------

Other books and net.recommendations can be obtained from the
comp.sys.ibm.pc.misc ftp site (math.princeton.edu) or via
mail server (see the Frequently Asked Questions file) in the
file `books'.
Technical Details
Message-ID: <1991Jan22.013006.15402@agate.berkeley.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!julius.cs.uiuc.edu!apple!agate!usenet
References: <9101220039.AA06964@yin.cpac.washington.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!julius.cs.uiuc.edu!apple!agate!usenet
From: raymond@math.berkeley.edu (Raymond Chen)
Newsgroups: comp.os.msdos.programmer
Subject: Re: how to get the most accurate program timings
Message-ID: <1991Jan22.013006.15402@agate.berkeley.edu>
Date: 22 Jan 91 01:30:06 GMT
References: <9101220039.AA06964@yin.cpac.washington.edu>
Sender: usenet@agate.berkeley.edu (USENET Administrator)
Reply-To: raymond@math.berkeley.edu (Raymond Chen)
Organization: U.C. Berkeley
Lines: 39
In-Reply-To: fester@CPAC.WASHINGTON.EDU