PR# 2538 Eiffel profiling count information is erroneous !

Problem Report Summary
Submitter: pgcrism
Category: EiffelBench
Priority: Medium
Date: 2000/06/28
Class: Bug
Severity: Serious
Number: 2538
Release: v4.5.019
Confidential: No
Status: Suspended
Responsible:
Environment: Mozilla/4.05 [en] (WinNT; I) WinNT 4 sp 5 MSVC++ 5
Synopsis: Eiffel profiling count information is erroneous !

Description
With eiffel profiling.
Count information (calls, percentage, etc...) is erroneous when a primitive has been redefined and uses precursor.

When a feature is redefined, count information is counted as many times as it uses
Precursor.

For example :

A) 

LECTEUR_RDBMS lire
	Version from class LECTEUR_RDBMS    <========= initial definition
LECTEUR_PERSONNE lire
	Version from class LECTEUR_PERSONNE <========= uses Precursor
LECTEUR_PERSONNE_DOCUDEC lire
	Version from class LECTEUR_PERSONNE_DOCUDEC <= uses Precursor

times reported for LECTEUR_PERSONNE_DOCUDEC.lire are 3 times the actual times

B)

LECTEUR_RDBMS lire
	Version from class LECTEUR_RDBMS  <=========== initial definition
LECTEUR_CONTRAT_ONSS lire
	Version from class LECTEUR_CONTRAT_ONSS <===== uses Precursor

times reported for LECTEUR_CONTRAT_ONSS.lire are 2 times the actual times
To Reproduce

										
Problem Report Interactions
From:pgcrism    Date:2000/06/28    Download   
From: CRISMER Paul-Georges <paul-georges.crismer@groupes.be>
To: bugs@support.eiffel.com
Cc: abstraction@access.ch
Subject: RE: EiffelBench/2538
Date: Mon, 26 Jun 2000 10:11:55 +0200

 Hello,
 
 Do you know where the error comes from ?
 Can you provide me with some information to avoid this problem ?
 
 Thank you.
 
 
 Paul G. Crismer
 
 
 > -----Original Message-----
 > From:	bugs@support.eiffel.com [SMTP:bugs@support.eiffel.com]
 > Sent:	Tuesday, June 13, 2000 12:39 PM
 > To:	paul-georges.crismer@groupes.be
 > Subject:	EiffelBench/2538
 > 
 > Thank you very much for your problem report.
 > It has the internal identification `EiffelBench/2538'.
 > 
 > If you want to add more information to your report or
 > reply to our answer, please reply to this message
 > without modifying the subject header.
 > 
 > The individual assigned to look at your
 > report is: EiffelBench_team. 
 > 
 > >Category:       EiffelBench
 > >Responsible:    EiffelBench_team
 > >Synopsis:       Eiffel profiling count information is erro
....
Output truncated, Click download to get the full message