- UtilTime understood

From: Frans-PieterVonck <"Frans-PieterVonck">
Date: Fri, 22 Apr 2005 00:39:51 +0200

nu.&I8~Ӿz
z{mʗ{V
z{S}ĝxjǺThanks for explaining,

 
your program can assert the (minimum time) a computer needs to for a executing a set of instructions.
 
That's interesting when you need to calibrate a pulse-time measuring program.
 
My Blackbox project is porting some of Burkhard Kainka's - 'PC Interfaces Under Windows' programs from Delphi to Blackbox.
I would like to use them in a physics class I give at a highschool in the Netherlands.
 
For now I wish you a 'code'-night.
 
Greetings from,
Frans-Pieter Vonck
 
 
 
 
 
 
 
 

        -----Oorspronkelijk bericht-----
        Van: blackbox{([at]})nowhere.xych namens Grard Meunier
        Verzonden: do 21-4-2005 23:48
        Aan: BlackBox Mailing List
        CC:
        Onderwerp: [BlackBox] - question UtilTime
        
        


        ----- Original Message -----
        From: "Frans-PieterVonck" <Frans-PieterVonck{([at]})nowhere.xy
        To: "BlackBox Mailing List" <blackbox{([at]})nowhere.xy
        Sent: Thursday, April 21, 2005 11:18 PM
        Subject: [BlackBox] - question UtilTime
        
        
        > There is something I don't understand in the program UtilTime
        > What is the function of these lines?
        >
        > dt := MAX(REAL);
        > dt := MIN(t1 - t0, dt);
        >
        > If a discard the statement I get the following output
        >
        > dt = 1.117463398259133E-6
        >
        > instead of the previous 0,83 s
        
        The result of t1 - t0 vary from time to time. The resolution of the counter
        is the minimum of these results, and it's what the procedure calculates. If
        you discard the MIN statement (and the initialization of the loop), you may
        get different results at every call.
        
        Cheers.
        
        Grard
        
        --- BlackBox
        --- send subject HELP or UNSUBSCRIBE to blackbox{([at]})oberon.ch
        
        


nu.&I8~Ӿz
z{mʗbqb
z{m}ޝxjǺ
z{Ch+bv!~)^{\rtf1\ansi\ansicpg1252\fromtext \deff0{\fonttbl
{\f0\fswiss\fcharset0 Arial;}
{\f1\fmodern Courier New;}
{\f2\fnil\fcharset2 Symbol;}
{\f3\fmodern\fcharset0 Courier New;}}
{\colortbl\red0\green0\blue0;\red0\green0\blue255;}
\uc1\pard\plain\deftab360 \f0\fs20 Thanks for explaining,\par
 \par
your program can assert the (minimum time) a computer needs to for a executing a set of instructions. \par
 \par
That's interesting when you need to calibrate a pulse-time measuring program. \par
 \par
My Blackbox project is porting some of Burkhard Kainka's - 'PC Interfaces Under Windows' programs from Delphi to Blackbox.\par
I would like to use them in a physics class I give at a highschool in the Netherlands.\par
 \par
For now I wish you a 'code'-night.\par
 \par
Greetings from,\par
Frans-Pieter Vonck\par
 \par
 \par
 \par
 \par
 \par
 \par
 \par
 \par
\par
\tab -----Oorspronkelijk bericht----- \par
\tab Van: blackbox{([at]})nowhere.xyG\'e9rard Meunier \par
\tab Verzonden: do 21-4-2005 23:48 \par
\tab Aan: BlackBox Mailing List \par
\tab CC: \par
\tab Onderwerp: [BlackBox] - question UtilTime\par
\tab \par
\tab \par
\par
\par
\tab ----- Original Message -----\par
\tab From: "Frans-PieterVonck" <Frans-PieterVonck{([at]})hetnet.nl>\par
\tab To: "BlackBox Mailing List" <blackbox{([at]})oberon.ch>\par
\tab Sent: Thursday, April 21, 2005 11:18 PM\par
\tab Subject: [BlackBox] - question UtilTime\par
\tab \par
\tab \par
\tab > There is something I don't understand in the program UtilTime\par
\tab > What is the function of these lines?\par
\tab >\par
\tab > dt := MAX(REAL);\par
\tab > dt := MIN(t1 - t0, dt);\par
\tab >\par
\tab > If a discard the statement I get the following output\par
\tab >\par
\tab > dt = 1.117463398259133E-6\par
\tab >\par
\tab > instead of the previous 0,83 \'b5s\par
\tab \par
\tab The result of t1 - t0 vary from time to time. The resolution of the counter\par
\tab is the minimum of these results, and it's what the procedure calculates. If\par
\tab you discard the MIN statement (and the initialization of the loop), you may\par
\tab get different results at every call.\par
\tab \par
\tab Cheers.\par
\tab \par
\tab G\'e9rard\par
\tab \par
\tab --- BlackBox\par
\tab --- send subject HELP or UNSUBSCRIBE to blackbox{([at]})oberon.ch\par
\tab \par
}}nu.&I8~Ӿz
Received on Fri Apr 22 2005 - 00:39:51 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:28:17 UTC