delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/04/29/07:16:21.1

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
From: "Alex Vinokur" <alexvn AT bigfoot DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: uclock_t & gcc 3.0.4 on Windows-2000
Date: Mon, 29 Apr 2002 14:13:18 +0200
Organization: Scopus
Lines: 135
Message-ID: <aaj9pj$b9k7a$1@ID-79865.news.dfncis.de>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1020429131219 DOT 25274E-100000 AT is>
NNTP-Posting-Host: gateway.scopus.net (62.90.123.5)
X-Trace: fu-berlin.de 1020078707 11849962 62.90.123.5 (16 [79865])
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

"Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il> wrote in message news:Pine DOT SUN DOT 3 DOT 91 DOT 1020429131219 DOT 25274E-100000 AT is...
|
| On Mon, 29 Apr 2002, Alex Vinokur wrote:
|
| >  Test[    1] :            0  [ 750000 iterations] ---> Too small
| >  Test[    2] :            0  [ 750000 iterations] ---> Too small
| >  Test[    3] :            0  [ 750000 iterations] ---> Too small
| >  Test[    4] :            0  [ 750000 iterations] ---> Too small
| >  Test[    5] :            0  [ 750000 iterations] ---> Too small
| >  Test[    6] :            0  [ 750000 iterations] ---> Too small
| >  Test[    7] :            0  [ 750000 iterations] ---> Too small
| >  Test[    8] :            1  [ 750000 iterations]
| >  Test[    9] :            1  [ 750000 iterations]
|
| If the problem is that you get zero clock ticks, you will have to enlarge
| the number of iterations.


Here is fragments of a log file with enlarged number of iterations.
It seems that now it is OK.
However - 75,000,000 iterations (!?)




======================================================================
   *            ENVIRONMENT VARIABLES (Actual Values)
   *            -------------------------------------
   *   Measurement Report            : Enable
   *   Detailed Measurement Report   : Enable
   *   Tracing Report                : Disable
   *   Total Iteration               : 75000000
   *   Total Tests                   : 15
   *   Scale per Calls Value         : 25000000
   *   Confidence Threshold          : 0.17
======================================================================





   #############################################
   # --------
   # Resource
   # --------
   #  Resource Name       : user time used
   #  Resource Cost Unit  : clock
   #  Resource State Unit : clock
   # ===========================================
   #       Function-1 : of 1
   #  PRETTY FUNCTION : void demo_11()
   #         FUNCTION : demo_11
   #             FILE : DEMO.Cpp, line#216
   #      DESCRIPTION : strlen-4
   #        PER-CALLS : 25000000
   #      TOTAL TESTS : 15
   #        ---------------------
   # Specific Performance is Runcost expended per 25000000 iterations
   #        ---------------------
   #      Detailed measurement report
   #############################################

 ---------------------------------------------
 --- Results sorted according to a test number
 ---------------------------------------------
 Test[    1] :           33  [75000000 iterations]
 Test[    2] :           35  [75000000 iterations]
 Test[    3] :           35  [75000000 iterations]
 Test[    4] :           33  [75000000 iterations]
 Test[    5] :           35  [75000000 iterations]
 Test[    6] :           35  [75000000 iterations]
 Test[    7] :           35  [75000000 iterations]
 Test[    8] :           33  [75000000 iterations]
 Test[    9] :           33  [75000000 iterations]
 Test[   10] :           35  [75000000 iterations]
 Test[   11] :           36  [75000000 iterations]
 Test[   12] :           33  [75000000 iterations]
 Test[   13] :           35  [75000000 iterations]
 Test[   14] :           35  [75000000 iterations]
 Test[   15] :           35  [75000000 iterations]

 ----------------------------------------
 --- Results sorted according to run cost
 ----------------------------------------
 -Test[    1] :           33  [75000000 iterations]
 -Test[    4] :           33  [75000000 iterations]
 +Test[    8] :           33  [75000000 iterations]
 +Test[    9] :           33  [75000000 iterations]
 +Test[   12] :           33  [75000000 iterations]
 +Test[    2] :           35  [75000000 iterations]
 +Test[    3] :           35  [75000000 iterations]
 +Test[    5] :           35  [75000000 iterations]
 +Test[    6] :           35  [75000000 iterations]
 +Test[    7] :           35  [75000000 iterations]
 +Test[   10] :           35  [75000000 iterations]
 +Test[   13] :           35  [75000000 iterations]
 +Test[   14] :           35  [75000000 iterations]
 -Test[   15] :           35  [75000000 iterations]
 -Test[   11] :           36  [75000000 iterations]


 -------------------------------------
 --- Summary report : Average run cost
 -------------------------------------
 Average value             = 34 per 25000000 iterations (379/11 )
   *** All tests ***
      Total tests          = 15
      Min abs value        = 33      --> in Test#1
      Max abs value        = 36      --> in Test#11
   *** Selected tests ***
      Discarding threshold = 0.17
      Discarded tests      = 4 (2 minimal and 2 maximal)
      Total selected tests = 11
      Min selected value   = 33      --> in Test#8
      Max selected value   = 35      --> in Test#14



#################################################


Thank you very much for your responding.

--
====================
  Alex Vinokur
    http://up.to/alexvn
    http://go.to/alexv_math
    mailto:alexvn AT bigfoot DOT com
    mailto:alexvn AT go DOT to
  ====================



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019