public class ActionGraphPerfStatEvent extends AbstractBuckEvent
Modifier and Type | Class and Description |
---|---|
static class |
ActionGraphPerfStatEvent.Start
Class representing the start of timing
|
BUILD_FINISHED, BUILD_REPORT, BUILD_STARTED, BUILD_STATUS_EVENT, CACHE_RATE_STATS_UPDATE_EVENT, INDIVIDUAL_TEST_AWAITING_RESULTS, INSTALL_STARTED, PARSE_FINISHED, PARSE_STARTED, PROJECT_GENERATION_FINISHED, PROJECT_GENERATION_STARTED, TEST_RUN_STARTED
Modifier and Type | Method and Description |
---|---|
String |
getBuildTargetName() |
long |
getElapsedTime() |
String |
getEventName() |
int |
getNumberNodesGenerated() |
long |
getNumNoopNodesGenerated() |
String |
getTargetNodeDescriptionName() |
protected String |
getValueString() |
static Scope |
start(Clock clock,
BuckEventBus eventBus,
java.util.function.Supplier<Integer> getRuleSize,
java.util.function.Supplier<Long> getNoOpRuleSize,
String descriptionName,
String buildTargetName)
Creates a Scope for the timing event
|
configure, equals, getBuildId, getEventKey, getNanoTime, getThreadId, getThreadUserNanoTime, getTimestampMillis, hashCode, isConfigured, isRelatedTo, toLogMessage, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
storeLastInstanceAndReplayForNewClients
public static Scope start(Clock clock, BuckEventBus eventBus, java.util.function.Supplier<Integer> getRuleSize, java.util.function.Supplier<Long> getNoOpRuleSize, String descriptionName, String buildTargetName)
clock
- eventBus
- getRuleSize
- descriptionName
- buildTargetName
- protected String getValueString()
getValueString
in class AbstractBuckEvent
public String getEventName()
public long getElapsedTime()
public int getNumberNodesGenerated()
public long getNumNoopNodesGenerated()
public String getBuildTargetName()
public String getTargetNodeDescriptionName()