|
From: Benoit P. <ben...@en...> - 2005-04-26 22:36:02
|
On Tue, 26 Apr 2005 23:44:12 +0200
Josef Weidendorfer <Jos...@gm...> wrote:
> [Suggestions ...]
I'll take this into account.
> Small example for a small test loop:
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> ...
> hasDebug executed execCount
>=20
> . . . int main()
> 1 1 1 {
> 1 1 1 int i, j=3D0;
> . . .
> 1 1 2 printf("Hello World!\n");
> . . .
> 2 2 202 for(i=3D0;i<100;i++)
> 1 1 200 j +=3D a(i);
> . . .
> 1 1 1 return j;
> 1 1 1 }
> ...
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>=20
> What is the exact semantic of the numbers? I am curious because of=20
> "executed=3D2" for the printf line, "hasDebug=3D2" on the for() line, and=
=20
> "execCount=3D200" on the loop body line.
hasDebug is the number of executable instructions in the line
executed is the number of executable instructions the code passed through i=
n the line
execCount is the number of times the code passed through the line
Benoit
|