/[escript]/trunk/escriptcore/src/EscriptParams.cpp
ViewVC logotype

Diff of /trunk/escriptcore/src/EscriptParams.cpp

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

revision 2736 by jfenwick, Fri Oct 16 05:40:12 2009 UTC revision 2737 by jfenwick, Tue Nov 3 00:44:00 2009 UTC
# Line 29  EscriptParams::EscriptParams() Line 29  EscriptParams::EscriptParams()
29     too_many_levels=70;     too_many_levels=70;
30     too_many_nodes=15000;     too_many_nodes=15000;
31     resolve_collective=0;     resolve_collective=0;
32       print_lazy_tree=0;
33              // These #defs are for performance testing only              // These #defs are for performance testing only
34              // in general, I don't want people tweaking the              // in general, I don't want people tweaking the
35              // default value using compiler options              // default value using compiler options
# Line 72  EscriptParams::getInt(const char* name, Line 73  EscriptParams::getInt(const char* name,
73     {     {
74      return resolve_collective;      return resolve_collective;
75     }     }
76       if (!strcmp(name,"PRINT_LAZY_TREE"))
77       {
78        return print_lazy_tree;
79       }
80     return sentinel;     return sentinel;
81  }  }
82        
# Line 98  EscriptParams::setInt(const char* name, Line 103  EscriptParams::setInt(const char* name,
103     {     {
104      resolve_collective=value;      resolve_collective=value;
105     }     }
106       if (!strcmp(name,"PRINT_LAZY_TREE"))
107       {
108        print_lazy_tree=value;
109       }
110  }  }
111    
112  void  void

Legend:
Removed from v.2736  
changed lines
  Added in v.2737

  ViewVC Help
Powered by ViewVC 1.1.26