Ticket #639: commandlineoptions.patch
File commandlineoptions.patch, 3.4 KB (added by Klaus, 13 years ago) |
---|
-
docs/book/appc_command_line_options.pod
252 252 253 253 =over 4 254 254 255 =item - -bounds-checks255 =item -R slow 256 256 257 Run with the I<slow core> 258 259 =item -R bounds 260 257 261 Activate bounds checking. This also runs with the I<slow core> as a 258 262 side effect. 259 263 260 =item - -fast-core264 =item -R fast 261 265 262 266 Run with the I<fast core>. 263 267 264 =item - -computed-goto-core268 =item -R cgoto 265 269 266 270 Run the I<computed goto core> (CGoto). 267 271 268 =item - -jit-core272 =item -R jit 269 273 270 274 Run with the I<JIT core> if available. 271 275 272 =item - p,--profile276 =item -R cgp 273 277 274 Activate profiling. This prints a summary of opcode usage and 275 execution times after the program stops. It also runs within the 276 I<slow core>. 278 Run with the I<CGoto-Prederefed> core. 277 279 278 =item - -CGP-core280 =item -R cgp-jit 279 281 280 Run with the I<CGoto-Prederefed > core.282 Run with the I<CGoto-Prederefed with jit> core. 281 283 282 =item - -switched-core284 =item -R switch 283 285 284 286 Run with the I<Switched core>. 285 287 288 =item -R switch-jit 289 290 Run with the I<Switched core with jit>. 291 292 =item -R exec 293 294 Run with the I<exec core> 295 (uses JIT at compile time to generate native code) 296 297 =item -R gcdebug 298 299 Performs a full GC run before every op dispatch 300 (good for debugging GC problems) 301 302 =item -p,--profile 303 304 Activate profiling. This prints a summary of opcode usage and 305 execution times after the program stops. It also runs within the 306 I<slow core>. 307 286 308 =item -t,--trace 287 309 288 310 Trace execution. This also turns on the I<slow core>. -
docs/running.pod
147 147 switch-jit switch core with JIT 148 148 trace bounds checking core w/ trace info (see 'parrot --help-debug') 149 149 150 =item --bounds-checks, --slow-core151 152 Select the bounds-checking slow core (default).153 154 =item --computed-goto-core155 156 Select the CGoto core (if available).157 158 =item --CGP-core159 160 Select the CGP (CGoto Predereferenced) core (if available).161 162 =item --fast-core163 164 Select the fast (or function) core. Bounds checking, profiling, and tracing165 are not available. (That's why it's so fast.)166 167 =item --jit-core168 169 Run with the JIT subsystem (if available).170 171 150 =item -p, --profile 172 151 173 152 Run with the slow core and print an execution profile. 174 153 175 =item --switched-core176 177 TODO: This needs to be documented briefly here and also in glossary.pod.178 179 154 =item -t, --trace 180 155 181 156 Run with the slow core and print trace information to B<stderr>. See C<parrot -
compilers/imcc/main.c
219 219 " -L --library add path to library search\n" 220 220 " -X --dynext add path to dynamic extension search\n" 221 221 " <Run core options>\n" 222 " -R --runcore CORE\n" 223 " --bounds-checks|--slow-core\n" 224 " --CGP-core\n" 225 " --fast-core\n" 226 " --computed-goto-core\n" 227 " --jit-core\n" 222 " -R --runcore slow|bounds|fast|jit|cgoto|cgp|cgp-jit\n" 223 " -R --runcore switch|switch-jit|trace|exec|gcdebug\n" 228 224 " -p --profile\n" 229 " --switched-core\n"230 225 " -t --trace [flags]\n" 231 226 " <VM options>\n" 232 227 " -D --parrot-debug[=HEXFLAGS]\n"