public static class BTraceUtils.Speculation
extends java.lang.Object
Constructor and Description |
---|
Speculation() |
Modifier and Type | Method and Description |
---|---|
static void |
commit(int id)
Commits the speculative buffer associated with id.
|
static void |
discard(int id)
Discards the speculative buffer associated with id.
|
static void |
speculate(int id)
Sets current speculative buffer id.
|
static int |
speculation()
Returns an identifier for a new speculative buffer.
|
public static int speculation()
public static void speculate(int id)
id
- the speculative buffer idpublic static void commit(int id)
id
- the speculative buffer idpublic static void discard(int id)
id
- the speculative buffer id