home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD2.mdf
/
c
/
tools
/
profiler
/
prf
/
prftest.c
< prev
next >
Wrap
Text File
|
1988-11-23
|
328b
|
27 lines
#include <stdio.h>
#include "prfifl.h"
#include <dos.h>
long TT()
{
int i;
long j;
for(i = 0 ; i < 16 ; i++)j += i ;
return j;
}
main(argc, argv)
int argc;
char **argv;
{
long l ;
long ac = 0;
PRFstart((long far *)main);
for (l=0;l<100000L;l++){
ac += l*l + TT();
}
PRFstop();
}