diff options
author | lucko <git@lucko.me> | 2023-01-08 15:21:32 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-08 15:21:32 +0000 |
commit | d83e49128ad59308f4b3ff19cf4b22b53236be8d (patch) | |
tree | bbd118c94f50f00b1cfc5da61e91b8c0ff0eedc7 /spark-common/src/main/proto | |
parent | dcdaacd7deb40be939bf91379f7391c02481cc48 (diff) | |
download | spark-d83e49128ad59308f4b3ff19cf4b22b53236be8d.tar.gz spark-d83e49128ad59308f4b3ff19cf4b22b53236be8d.tar.bz2 spark-d83e49128ad59308f4b3ff19cf4b22b53236be8d.zip |
Allocation profiler (#290)
Diffstat (limited to 'spark-common/src/main/proto')
-rw-r--r-- | spark-common/src/main/proto/spark/spark.proto | 5 | ||||
-rw-r--r-- | spark-common/src/main/proto/spark/spark_sampler.proto | 6 |
2 files changed, 11 insertions, 0 deletions
diff --git a/spark-common/src/main/proto/spark/spark.proto b/spark-common/src/main/proto/spark/spark.proto index f61e585..2004415 100644 --- a/spark-common/src/main/proto/spark/spark.proto +++ b/spark-common/src/main/proto/spark/spark.proto @@ -165,6 +165,11 @@ message WindowStatistics { int32 entities = 8; int32 tile_entities = 9; int32 chunks = 10; + + // approximate wall-clock start/end times + int64 start_time = 11; + int64 end_time = 12; + int32 duration = 13; } message RollingAverageValues { diff --git a/spark-common/src/main/proto/spark/spark_sampler.proto b/spark-common/src/main/proto/spark/spark_sampler.proto index 245da37..60cffac 100644 --- a/spark-common/src/main/proto/spark/spark_sampler.proto +++ b/spark-common/src/main/proto/spark/spark_sampler.proto @@ -32,6 +32,7 @@ message SamplerMetadata { int32 number_of_ticks = 12; map<string, SourceMetadata> sources = 13; map<string, string> extra_platform_metadata = 14; + SamplerMode sampler_mode = 15; message ThreadDumper { Type type = 1; @@ -67,6 +68,11 @@ message SamplerMetadata { string name = 1; string version = 2; } + + enum SamplerMode { + EXECUTION = 0; + ALLOCATION = 1; + } } message ThreadNode { |