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

SCM Repository

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

Diff of /branches/vis15/src/compiler/target-cpu/fragments/seq-main.in

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

revision 3916, Sat May 28 12:01:02 2016 UTC revision 3917, Sat May 28 16:41:39 2016 UTC
# Line 53  Line 53 
53    
54    // run the generated global initialization code    // run the generated global initialization code
55      if (wrld->_verbose) {      if (wrld->_verbose) {
56          std::cerr << "initializing globals ...\n");          std::cerr << "initializing globals ...\n";
57      }      }
58      if (initially (wrld)) {      if (initially (wrld)) {
59          std::cerr << "Error in global initialization:\n%s\n"          std::cerr << "Error in global initialization:\n%s\n"
# Line 62  Line 62 
62      }      }
63    
64      if (wrld->_verbose) {      if (wrld->_verbose) {
65          std::cerr << "run with " << wrld->numStrands << " strands ..." << std::endl;          std::cerr << "run with " << wrld->_num_strands << " strands ..." << std::endl;
66      }      }
67    
68      uint32_t nSteps = @PREFIX@Run (wrld, stepLimit);      uint32_t nSteps = @PREFIX@Run (wrld, stepLimit);
69    
70      if (wrld->_errors->errNum > 0) {      if (wrld->_errors->errNum > 0) {
71          std::cerr << "Error during execution:\n%s\n" << biffMsgStrGet(wrld->_errors));          std::cerr << "Error during execution:\n%s\n" << biffMsgStrGet(wrld->_errors);
72          exit(1);          exit(1);
73      }      }
74    
75      if (wrld->_verbose) {      if (wrld->_verbose) {
76          std::cerr << "done: " << nSteps << " steps, in " << wrld->_run_time << " seconds" << std::endl);          std::cerr << "done: " << nSteps << " steps, in " << wrld->_run_time << " seconds"
77                << std::endl;
78      }      }
79      else if (timingFlg) {      else if (timingFlg) {
80          std::cout << "usr=" << world->_run_time << std::endl;          std::cout << "usr=" << wrld->_run_time << std::endl;
81      }      }
82    
83    // output the final strand states    // output the final strand states
84      WriteOutput (wrld);      write_output (wrld);
85    
86      wrld->shutdown ();      delete wrld;
87    
88      return 0;      return 0;
89    

Legend:
Removed from v.3916  
changed lines
  Added in v.3917

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