Quick Search:

Mode

Context

Displaying 3 lines of context. None | Less | More | Full

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.93
 
1.94
 
MAIN:ragge:20081124071309
 
cpp.c
_>186186         struct symtab *nl;
 187187         register int ch;
 188188 
<> 189+#ifdef TIMING
  190+        struct timeval t1, t2;
  191+
  192+        (void)gettimeofday(&t1, NULL);
  193+#endif
  194+
189195         while ((ch = getopt(argc, argv, "CD:I:MPS:U:d:i:tvV?")) != -1)
 190196                 switch (ch) {
 191197                 case 'C': /* Do not discard comments */
     
 !
315321 
 316322         flbuf();
 317323         close(ofd);
<> 324+#ifdef TIMING
  325+        (void)gettimeofday(&t2, NULL);
  326+        t2.tv_sec -= t1.tv_sec;
  327+        t2.tv_usec -= t1.tv_usec;
  328+        if (t2.tv_usec < 0) {
  329+                t2.tv_usec += 1000000;
  330+                t2.tv_sec -= 1;
  331+        }
  332+        fprintf(stderr, "cpp total time: %ld s %ld us\n",
  333+             t2.tv_sec, t2.tv_usec);
  334+#endif
<_318335         return 0;
 319336 }
 320337 
FishEye: Open Source License registered to PCC.
Your maintenance has expired. You can renew your license at http://www.atlassian.com/fisheye/renew
Atlassian FishEye, CVS analysis. (Version:1.6.3 Build:build-336 2008-11-04) - Administration - Page generated 2014-09-17 03:34 +0200