Package org.apache.spark.metrics.source
Class CodegenMetrics
Object
org.apache.spark.metrics.source.CodegenMetrics
Metrics for code generation.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic com.codahale.metrics.Histogram
Histogram of the time it took to compile source code text (in milliseconds).static com.codahale.metrics.Histogram
Histogram of the bytecode size of each class generated by CodeGenerator.static com.codahale.metrics.Histogram
Histogram of the bytecode size of each method in classes generated by CodeGenerator.static com.codahale.metrics.Histogram
Histogram of the length of source code text compiled by CodeGenerator (in characters).static com.codahale.metrics.MetricRegistry
static String
-
Constructor Details
-
CodegenMetrics
public CodegenMetrics()
-
-
Method Details
-
sourceName
-
metricRegistry
public static com.codahale.metrics.MetricRegistry metricRegistry() -
METRIC_SOURCE_CODE_SIZE
public static com.codahale.metrics.Histogram METRIC_SOURCE_CODE_SIZE()Histogram of the length of source code text compiled by CodeGenerator (in characters).- Returns:
- (undocumented)
-
METRIC_COMPILATION_TIME
public static com.codahale.metrics.Histogram METRIC_COMPILATION_TIME()Histogram of the time it took to compile source code text (in milliseconds).- Returns:
- (undocumented)
-
METRIC_GENERATED_CLASS_BYTECODE_SIZE
public static com.codahale.metrics.Histogram METRIC_GENERATED_CLASS_BYTECODE_SIZE()Histogram of the bytecode size of each class generated by CodeGenerator.- Returns:
- (undocumented)
-
METRIC_GENERATED_METHOD_BYTECODE_SIZE
public static com.codahale.metrics.Histogram METRIC_GENERATED_METHOD_BYTECODE_SIZE()Histogram of the bytecode size of each method in classes generated by CodeGenerator.- Returns:
- (undocumented)
-