home *** CD-ROM | disk | FTP | other *** search
/ Crawly Crypt Collection 1 / crawlyvol1.bin / program / compiler / profile / dwarfs.c next >
C/C++ Source or Header  |  1987-03-30  |  500b  |  20 lines

  1.  
  2. /*
  3.  * Profile test program - Hi ho, Hi ho !
  4.  */
  5.  
  6. main()
  7. {
  8.     dopey(), grumpy(), doc(), sleepy(),
  9.     bashful(), happy(), sneezy();
  10. }
  11.  
  12. dopey()   { long i; for( i=0; i<100000L; i++ ); }
  13. grumpy()  { long i; for( i=0; i<200000L; i++ ); }
  14. doc()     { long i; for( i=0; i<100000L; i++ ); }
  15. sleepy()  { long i; for( i=0; i<400000L; i++ ); }
  16. bashful() { long i; for( i=0; i<100000L; i++ ); }
  17. happy()   { long i; for( i=0; i<200000L; i++ ); }
  18. sneezy()  { long i; for( i=0; i<100000L; i++ ); }
  19.  
  20.