summaryrefslogtreecommitdiff
path: root/absl/profiling/internal/sample_recorder.h
diff options
context:
space:
mode:
Diffstat (limited to 'absl/profiling/internal/sample_recorder.h')
-rw-r--r--absl/profiling/internal/sample_recorder.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/absl/profiling/internal/sample_recorder.h b/absl/profiling/internal/sample_recorder.h
index fc269bdd..5f65983b 100644
--- a/absl/profiling/internal/sample_recorder.h
+++ b/absl/profiling/internal/sample_recorder.h
@@ -46,6 +46,7 @@ struct Sample {
absl::Mutex init_mu;
T* next = nullptr;
T* dead ABSL_GUARDED_BY(init_mu) = nullptr;
+ int64_t weight; // How many sampling events were required to sample this one.
};
// Holds samples and their associated stack traces with a soft limit of