Changeset a0da83 in git
- Timestamp:
- Mar 31, 2015, 3:36:56 PM (9 years ago)
- Branches:
- (u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
- Children:
- 06cff955d56f17b8a3199fd8db5e3f4a6be98f35
- Parents:
- 56225c216f0df9632a02f7b745efacd6da070754
- Location:
- Singular
- Files:
-
- 1 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/feOpt.cc
r56225c ra0da83 27 27 28 28 29 const char SHORT_OPTS_STRING[] = "bdh qstvxec:r:u:";29 const char SHORT_OPTS_STRING[] = "bdhpqstvxec:r:u:"; 30 30 31 31 ////////////////////////////////////////////////////////////// … … 213 213 return NULL; 214 214 215 case FE_OPT_PROFILE: 216 traceit=1024; 217 return NULL; 218 215 219 case FE_OPT_QUIET: 216 220 if (feOptSpec[FE_OPT_QUIET].value) … … 252 256 case FE_OPT_RANDOM: 253 257 siRandomStart = (unsigned int) ((unsigned long) 254 258 (feOptSpec[FE_OPT_RANDOM].value)); 255 259 siSeed=siRandomStart; 256 260 factoryseed(siRandomStart); -
Singular/feOptTab.h
r56225c ra0da83 82 82 83 83 {"echo", optional_argument, 'e', 84 "VAL", "Set value of variable `echo' to (integer) VAL", 84 "VAL", "Set value of variable `echo' to (integer) VAL", feOptInt, 0, 0}, 85 85 86 86 {"help", no_argument, 'h', 87 87 0, "Print help message and exit", feOptUntyped, 0, 0}, 88 88 89 {"profile", no_argument, 'p', 90 0, "Collect profiling data in smon.out", feOptBool, 0, 0}, 89 91 {"quiet", no_argument, 'q', 90 92 0, "Do not print start-up banner and lib load messages", feOptBool, 0, 0}, -
Singular/fevoices.cc
r56225c ra0da83 35 35 36 36 char fe_promptstr[] =" "; 37 FILE *File_Profiling=NULL; 37 38 38 39 // output/print buffer: … … 458 459 Print("{%d}",yylineno); 459 460 mflush(); 461 } 462 else if (traceit&TRACE_PROFILING) 463 { 464 if (File_Profiling==NULL) 465 File_Profiling=fopen("smon.out","a"); 466 if (File_Profiling==NULL) 467 traceit &= (~TRACE_PROFILING); 468 else 469 { 470 if (currentVoice->filename==NULL) 471 fprintf(File_Profiling,"(none) %d\n",yylineno); 472 else 473 fprintf(File_Profiling,"%s %d\n",currentVoice->filename,yylineno); 474 } 460 475 } 461 476 #ifdef HAVE_SDB -
Singular/misc_ip.cc
r56225c ra0da83 1076 1076 if (!m2_end_called) 1077 1077 { 1078 extern FILE* File_Profiling; 1079 if (File_Profiling!=NULL) { fclose(File_Profiling); File_Profiling=NULL; } 1078 1080 m2_end_called = TRUE; 1079 1081 #ifdef HAVE_SIMPLEIPC
Note: See TracChangeset
for help on using the changeset viewer.