A B C E F G H I K L M N R S T U V W 
All Classes All Packages

A

allocateMarkRecorderId() - Static method in class io.perfmark.impl.MarkRecorderRef
 
attachKeyedTag(long, String, long) - Method in class io.perfmark.impl.MarkRecorder
 
attachKeyedTag(long, String, long, long) - Method in class io.perfmark.impl.MarkRecorder
 
attachKeyedTag(long, String, String) - Method in class io.perfmark.impl.MarkRecorder
 
attachTag(long, String, long) - Method in class io.perfmark.impl.MarkRecorder
 

B

build() - Method in class io.perfmark.impl.MarkList.Builder
 
Builder() - Constructor for class io.perfmark.impl.MarkList.Builder
 

C

ConcurrentThreadLocal<T> - Class in io.perfmark.impl
A "thread local" variable that uses weak refs to track the thread to value mapping.
ConcurrentThreadLocal() - Constructor for class io.perfmark.impl.ConcurrentThreadLocal
 
costOfGetNanos() - Method in class io.perfmark.impl.Generator
Returns the approximate cost to read the generation.
costOfSetNanos() - Method in class io.perfmark.impl.Generator
Returns the approximate cost to change the generation.

E

equals(Object) - Method in class io.perfmark.impl.Mark
 
equals(Object) - Method in class io.perfmark.impl.MarkList
 
equals(Object) - Method in class io.perfmark.impl.MarkRecorderRef
 
event(long, long, String) - Static method in class io.perfmark.impl.Mark
 
event(long, long, String, String) - Static method in class io.perfmark.impl.Mark
 
event(long, long, String, String, long) - Static method in class io.perfmark.impl.Mark
 
event(long, long, String, String, String, long) - Static method in class io.perfmark.impl.Mark
 
event(long, String) - Method in class io.perfmark.impl.MarkRecorder
 
event(long, String, String) - Method in class io.perfmark.impl.MarkRecorder
 
event(long, String, String, long) - Method in class io.perfmark.impl.MarkRecorder
 
EVENT - io.perfmark.impl.Mark.OperationType
 
EVENT_N1S1 - io.perfmark.impl.Mark.Operation
 
EVENT_N1S2 - io.perfmark.impl.Mark.Operation
 
EVENT_N2S2 - io.perfmark.impl.Mark.Operation
Tagged event, since attach tags can't apply to events
EVENT_N2S3 - io.perfmark.impl.Mark.Operation
Tagged event, since attach tags can't apply to events
eventAt(long, String, long) - Method in class io.perfmark.impl.MarkRecorder
 
eventAt(long, String, String, long) - Method in class io.perfmark.impl.MarkRecorder
 
eventAt(long, String, String, long, long) - Method in class io.perfmark.impl.MarkRecorder
 

F

FAILURE - Static variable in class io.perfmark.impl.Generator
Represents a failure to enable PerfMark library.

G

GEN_OFFSET - Static variable in class io.perfmark.impl.Generator
The number of reserved bits at the bottom of the generation.
Generator - Class in io.perfmark.impl
A Generator keeps track of what generation the PerfMark library is on.
Generator() - Constructor for class io.perfmark.impl.Generator
 
get() - Method in class io.perfmark.impl.ConcurrentThreadLocal
 
get(int) - Method in class io.perfmark.impl.MarkList
 
getGeneration() - Method in class io.perfmark.impl.Generator
Gets the current generation, shifted left by Generator.GEN_OFFSET.
getGeneration() - Method in class io.perfmark.impl.Mark
 
getId() - Method in class io.perfmark.impl.ThreadInfo
The most recent ID of the thread.
getInitNanoTime() - Static method in class io.perfmark.impl.Storage
 
getLinkId() - Method in class io.perfmark.impl.Mark
 
getMarkRecorderId() - Method in class io.perfmark.impl.MarkList
The globally unique ID for the MarkRecorder that recorded this list.
getName() - Method in class io.perfmark.impl.ThreadInfo
The most recent name of the thread.
getNanoTime() - Method in class io.perfmark.impl.Mark
 
getNumbers() - Method in enum io.perfmark.impl.Mark.Operation
 
getOperation() - Method in class io.perfmark.impl.Mark
 
getOpType() - Method in enum io.perfmark.impl.Mark.Operation
 
getStrings() - Method in enum io.perfmark.impl.Mark.Operation
 
getSubTaskName() - Method in class io.perfmark.impl.Mark
 
getTagFirstNumeric() - Method in class io.perfmark.impl.Mark
 
getTagKey() - Method in class io.perfmark.impl.Mark
 
getTagSecondNumeric() - Method in class io.perfmark.impl.Mark
 
getTagStringValue() - Method in class io.perfmark.impl.Mark
 
getTaskName() - Method in class io.perfmark.impl.Mark
 
getThreadId() - Method in class io.perfmark.impl.MarkList
Thread IDs can be recycled, so this is not unique.
getThreadName() - Method in class io.perfmark.impl.MarkList
Gets the Thread name of the thread that recorded the Marks.

H

hashCode() - Method in class io.perfmark.impl.Mark
 
hashCode() - Method in class io.perfmark.impl.MarkList
 
hashCode() - Method in class io.perfmark.impl.MarkRecorderRef
 

I

initialValue() - Method in class io.perfmark.impl.ConcurrentThreadLocal
 
io.perfmark.impl - package io.perfmark.impl
Represents implementation pieces to make PerfMark work.
isCurrentThread() - Method in class io.perfmark.impl.ThreadInfo
 
isTerminated() - Method in class io.perfmark.impl.ThreadInfo
Returns true if the thread has been GC'd or is terminated.

K

keyedTag(long, String, long) - Static method in class io.perfmark.impl.Mark
 
keyedTag(long, String, long, long) - Static method in class io.perfmark.impl.Mark
 
keyedTag(long, String, String) - Static method in class io.perfmark.impl.Mark
 

L

link(long, long) - Static method in class io.perfmark.impl.Mark
 
link(long, long) - Method in class io.perfmark.impl.MarkRecorder
 
LINK - io.perfmark.impl.Mark.Operation
 
LINK - io.perfmark.impl.Mark.OperationType
 

M

Mark - Class in io.perfmark.impl
 
Mark.Operation - Enum in io.perfmark.impl
 
Mark.OperationType - Enum in io.perfmark.impl
 
MarkHolder - Class in io.perfmark.impl
A MarkHolder records Marks for later retrieval.
MarkHolder() - Constructor for class io.perfmark.impl.MarkHolder
 
MarkList - Class in io.perfmark.impl
MarkList is collection of Marks, in the order they were recorded.
MarkList.Builder - Class in io.perfmark.impl
 
MarkRecorder - Class in io.perfmark.impl
A MarkRecorder records tracing events from PerfMark calls.
MarkRecorder() - Constructor for class io.perfmark.impl.MarkRecorder
 
markRecorderId() - Method in class io.perfmark.impl.MarkRecorderRef
 
MarkRecorderRef - Class in io.perfmark.impl
Represents a MarkRecorder ID and the Thread that created it.
maxMarkers() - Static method in enum io.perfmark.impl.Mark.Operation
 
maxMarks() - Method in class io.perfmark.impl.MarkHolder
 
maxNumbers() - Static method in enum io.perfmark.impl.Mark.Operation
 
maxStrings() - Static method in enum io.perfmark.impl.Mark.Operation
 

N

newBuilder() - Static method in class io.perfmark.impl.MarkList
 
newRef() - Static method in class io.perfmark.impl.MarkRecorderRef
Creates a new MarkRecorderRef that can update the thread name and ID from the current thread.
newRef(ThreadInfo) - Static method in class io.perfmark.impl.MarkRecorderRef
Creates a new MarkRecorderRef that can update the thread name and ID from the given Thread Reference.
NO_LINK_ID - Static variable in class io.perfmark.impl.Mark
 
NO_MAX_MARKS - Static variable in class io.perfmark.impl.MarkHolder
 
NO_TAG_ID - Static variable in class io.perfmark.impl.Mark
 
NO_TAG_NAME - Static variable in class io.perfmark.impl.Mark
 
NONE - io.perfmark.impl.Mark.Operation
 
NONE - io.perfmark.impl.Mark.OperationType
 

R

read() - Method in class io.perfmark.impl.MarkHolder
 
read() - Static method in class io.perfmark.impl.Storage
Returns a list of MarkLists across all reachable threads.
read(Collection<? super MarkList>) - Method in class io.perfmark.impl.MarkHolder
 
readForTest() - Static method in class io.perfmark.impl.Storage
May Return null.
registerMarkHolder(MarkHolder) - Static method in class io.perfmark.impl.Storage
Note: it is the responsibility of the caller to keep a strong reference to the markHolder.
remove() - Method in class io.perfmark.impl.ConcurrentThreadLocal
 
resetForAll() - Method in class io.perfmark.impl.MarkHolder
Attempts to remove all Marks in this mark holder.
resetForAll() - Static method in class io.perfmark.impl.Storage
Removes the global Read index on all storage, but leaves local storage in place.
resetForThread() - Method in class io.perfmark.impl.MarkHolder
Attempts to remove all Marks for the calling thread.
resetForThread() - Static method in class io.perfmark.impl.Storage
Removes all data for the calling Thread.

S

set(T) - Method in class io.perfmark.impl.ConcurrentThreadLocal
 
setGeneration(long) - Method in class io.perfmark.impl.Generator
Sets the current generation count.
setMarkRecorderId(long) - Method in class io.perfmark.impl.MarkList.Builder
Sets the MarkRecorder ID for this MarkList builder.
setMarks(List<Mark>) - Method in class io.perfmark.impl.MarkList.Builder
Sets the marks for this MarkList builder.
setThreadId(long) - Method in class io.perfmark.impl.MarkList.Builder
Sets the thread ID for this MarkList builder.
setThreadName(String) - Method in class io.perfmark.impl.MarkList.Builder
Sets the thread name for this MarkList builder.
size() - Method in class io.perfmark.impl.MarkList
 
start(long, String) - Method in class io.perfmark.impl.MarkRecorder
 
start(long, String, String) - Method in class io.perfmark.impl.MarkRecorder
 
start(long, String, String, long) - Method in class io.perfmark.impl.MarkRecorder
 
startAt(long, String, long) - Method in class io.perfmark.impl.MarkRecorder
 
startAt(long, String, String, long) - Method in class io.perfmark.impl.MarkRecorder
 
startAt(long, String, String, long, long) - Method in class io.perfmark.impl.MarkRecorder
 
stop(long) - Method in class io.perfmark.impl.MarkRecorder
 
stop(long, String) - Method in class io.perfmark.impl.MarkRecorder
 
stop(long, String, String) - Method in class io.perfmark.impl.MarkRecorder
 
stop(long, String, String, long) - Method in class io.perfmark.impl.MarkRecorder
 
stopAt(long, long) - Method in class io.perfmark.impl.MarkRecorder
 
stopAt(long, String, long) - Method in class io.perfmark.impl.MarkRecorder
 
stopAt(long, String, String, long) - Method in class io.perfmark.impl.MarkRecorder
 
stopAt(long, String, String, long, long) - Method in class io.perfmark.impl.MarkRecorder
 
Storage - Class in io.perfmark.impl
Storage is responsible for storing and returning recorded marks.

T

tag(long, long) - Static method in class io.perfmark.impl.Mark
 
tag(long, String) - Static method in class io.perfmark.impl.Mark
 
tag(long, String, long) - Static method in class io.perfmark.impl.Mark
 
TAG - io.perfmark.impl.Mark.OperationType
 
TAG_KEYED_N0S2 - io.perfmark.impl.Mark.Operation
 
TAG_KEYED_N1S1 - io.perfmark.impl.Mark.Operation
 
TAG_KEYED_N2S1 - io.perfmark.impl.Mark.Operation
 
TAG_N0S1 - io.perfmark.impl.Mark.Operation
An unkeyed tag that has a single string value.
TAG_N1S0 - io.perfmark.impl.Mark.Operation
An unkeyed tag that has a single numeric value.
TAG_N1S1 - io.perfmark.impl.Mark.Operation
An unkeyed tag that has a string and numeric value.
TASK_END - io.perfmark.impl.Mark.OperationType
 
TASK_END_N1S0 - io.perfmark.impl.Mark.Operation
 
TASK_END_N1S1 - io.perfmark.impl.Mark.Operation
 
TASK_END_N1S2 - io.perfmark.impl.Mark.Operation
 
TASK_START - io.perfmark.impl.Mark.OperationType
 
TASK_START_N1S1 - io.perfmark.impl.Mark.Operation
startTask(String taskName) 1 long for nanoTime.
TASK_START_N1S2 - io.perfmark.impl.Mark.Operation
startTask(String name, String subTaskName) 1 long for nanoTime.
taskEnd(long, long) - Static method in class io.perfmark.impl.Mark
 
taskEnd(long, long, String) - Static method in class io.perfmark.impl.Mark
 
taskEnd(long, long, String, String) - Static method in class io.perfmark.impl.Mark
 
taskStart(long, long, String) - Static method in class io.perfmark.impl.Mark
 
taskStart(long, long, String, String) - Static method in class io.perfmark.impl.Mark
 
threadInfo() - Method in class io.perfmark.impl.MarkRecorderRef
 
ThreadInfo - Class in io.perfmark.impl
Represents info about a Thread that may or may not still be around.
ThreadInfo() - Constructor for class io.perfmark.impl.ThreadInfo
 
toBuilder() - Method in class io.perfmark.impl.MarkList
 
toString() - Method in class io.perfmark.impl.Mark
 
toString() - Method in class io.perfmark.impl.MarkList
 
toString() - Method in class io.perfmark.impl.MarkRecorderRef
 

U

unimplemented() - Method in class io.perfmark.impl.MarkRecorder
This method exists for subclasses to add custom behavior to unimplemented method calls.
unregisterMarkHolder(MarkHolder) - Static method in class io.perfmark.impl.Storage
This method is meant to aid in cleanup.

V

valueOf(int) - Static method in enum io.perfmark.impl.Mark.Operation
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.perfmark.impl.Mark.Operation
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.perfmark.impl.Mark.OperationType
Returns the enum constant of this type with the specified name.
values() - Static method in enum io.perfmark.impl.Mark.Operation
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.perfmark.impl.Mark.OperationType
Returns an array containing the constants of this enum type, in the order they are declared.

W

withTaskName(String) - Method in class io.perfmark.impl.Mark
 
A B C E F G H I K L M N R S T U V W 
All Classes All Packages