Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] Diff of /branches/vis12/src/compiler/c-target/fragments/seq-main.in
ViewVC logotype

Diff of /branches/vis12/src/compiler/c-target/fragments/seq-main.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1719, Mon Mar 12 20:12:34 2012 UTC revision 1773, Sat Mar 31 13:29:34 2012 UTC
# Line 11  Line 11 
11    
12    // handle command-line options    // handle command-line options
13      Diderot_Options_t *opts = Diderot_OptNew ();      Diderot_Options_t *opts = Diderot_OptNew ();
 /* FIXME: register TimingFlg and NrrdOutputFlg */  
14      Diderot_OptAddFlag (opts, "timing", "enable execution timing", &timingFlg);      Diderot_OptAddFlag (opts, "timing", "enable execution timing", &timingFlg);
15      Diderot_OptAddFlag (opts, "nrrd", "enable nrrd output", &printOutputFlg);      Diderot_OptAddFlag (opts, "nrrd", "enable nrrd output", &printOutputFlg);
16      RegisterGlobalOpts (wrld, opts);      RegisterGlobalOpts (wrld, opts);
# Line 30  Line 29 
29      double totalTime = airTime() - t0;      double totalTime = airTime() - t0;
30    
31      if (wrld->verboseFlg)      if (wrld->verboseFlg)
32          fprintf (stderr, "done: %d updates, %d steps, in %f seconds\n", nUpdates, nSteps, totalTime);          fprintf (stderr, "done: %d steps, in %f seconds\n", nSteps, totalTime);
33      else if (TimingFlg)      else if (timingFlg)
34          printf ("usr=%f\n", totalTime);          printf ("usr=%f\n", totalTime);
35    
36    // output the final strand states    // output the final strand states

Legend:
Removed from v.1719  
changed lines
  Added in v.1773

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0