/* * testProgram -- see if the profiler works */ #include #include #include int main(int argc, char *argv[]) { int i, j = 100000; #ifdef DEBUG profInit(); #endif /* sleep(30); */ if (argc > 1) { j = atoi(argv[1]); } for (i=0; i < j; i++) { (void) a64l("hello"); } (void) addseverity(42, "the world"); #ifdef DEBUG profFini(); #endif return 0; }