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/par-main.in
ViewVC logotype

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

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

revision 1719, Mon Mar 12 20:12:34 2012 UTC revision 1772, Sat Mar 31 12:25:20 2012 UTC
# Line 21  Line 21 
21    
22    // handle command-line options    // handle command-line options
23      Diderot_Options_t *opts = Diderot_OptNew ();      Diderot_Options_t *opts = Diderot_OptNew ();
   
24      Diderot_OptAddFlag (opts, "timing", "enable execution timing", &timingFlg);      Diderot_OptAddFlag (opts, "timing", "enable execution timing", &timingFlg);
25      Diderot_OptAddFlag (opts, "nrrd", "enable nrrd output", &printOutputFlg);      Diderot_OptAddFlag (opts, "nrrd", "enable nrrd output", &printOutputFlg);
26      Diderot_OptAddInt (opts, "np", "specify number of worker threads", &np, true);      Diderot_OptAddInt (opts, "np", "specify number of worker threads", &np, true);
27      RegisterGlobalOpts (wrld, opts);      RegisterGlobalOpts (wrld, opts);
   
28      Diderot_OptProcess (opts, argc, argv);      Diderot_OptProcess (opts, argc, argv);
29      Diderot_OptFree (opts);      Diderot_OptFree (opts);
30    

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

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