Home
last modified time | relevance | path

Searched refs:geo_dist_rng_lock_ (Results 1 – 2 of 2) sorted by relevance

/art/runtime/javaheapprof/
Djavaheapsampler.h31 geo_dist_rng_lock_("Heap Sampler RNG Geometric Dist lock", in HeapSampler()
66 size_t* temp_bytes_until_sample) REQUIRES(!geo_dist_rng_lock_);
73 void SetSamplingInterval(int sampling_interval) REQUIRES(!geo_dist_rng_lock_);
78 size_t NextGeoDistRandSample() REQUIRES(!geo_dist_rng_lock_);
81 size_t PickAndAdjustNextSample(size_t sample_adj_bytes = 0) REQUIRES(!geo_dist_rng_lock_);
89 std::minstd_rand rng_ GUARDED_BY(geo_dist_rng_lock_); // Holds the state
91 std::geometric_distribution</*result_type=*/size_t> geo_dist_ GUARDED_BY(geo_dist_rng_lock_);
94 art::Mutex geo_dist_rng_lock_; variable
Djavaheapsampler.cc30 art::MutexLock mu(art::Thread::Current(), geo_dist_rng_lock_); in NextGeoDistRandSample()
144 art::MutexLock mu(art::Thread::Current(), geo_dist_rng_lock_); in SetSamplingInterval()