public static enum CompilerSettings.CPUAccountingMode extends Enum<CompilerSettings.CPUAccountingMode>
| Enum Constant and Description |
|---|
IN_EVERY_BASIC_BLOCK
Check CPU time usage at the beginning of every basic block.
|
NO_CPU_ACCOUNTING
Do not do CPU accounting.
|
| Modifier and Type | Method and Description |
|---|---|
static CompilerSettings.CPUAccountingMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CompilerSettings.CPUAccountingMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CompilerSettings.CPUAccountingMode NO_CPU_ACCOUNTING
public static final CompilerSettings.CPUAccountingMode IN_EVERY_BASIC_BLOCK
At the beginning of every basic block, update the ticks by invoking
ExecutionContext.registerTicks(int)
and potentially pause by invoking
ExecutionContext.pauseIfRequested().
public static CompilerSettings.CPUAccountingMode[] values()
for (CompilerSettings.CPUAccountingMode c : CompilerSettings.CPUAccountingMode.values()) System.out.println(c);
public static CompilerSettings.CPUAccountingMode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2016–2017. All rights reserved.