commit | b8f2b2c6cf362acc30ebb581dfc43d44f73bdf23 | [log] [tgz] |
---|---|---|
author | Abseil Team <absl-team@google.com> | Fri Apr 05 06:45:31 2024 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Fri Apr 05 06:46:26 2024 -0700 |
tree | 9cf85293d2bb88228fa5ec9ac36bc76ac9994dde | |
parent | 61e47a454c81eb07147b0315485f476513cc1230 [diff] |
In example code, add missing template parameter. PiperOrigin-RevId: 622164857 Change-Id: I806ebeb4da81403c8a9d57f3529b2bfbc1a07d01
diff --git a/absl/profiling/internal/periodic_sampler.h b/absl/profiling/internal/periodic_sampler.h index 54f0af4..f5d847a 100644 --- a/absl/profiling/internal/periodic_sampler.h +++ b/absl/profiling/internal/periodic_sampler.h
@@ -172,7 +172,7 @@ // Typical use case: // // struct HashTablezTag {}; -// thread_local PeriodicSampler sampler; +// thread_local PeriodicSampler<HashTablezTag, 100> sampler; // // void HashTableSamplingLogic(...) { // if (sampler.Sample()) {