| 990 | } |
| 991 | |
| 992 | void TraceSamplingThread::GetSamples() { |
| 993 | for (auto& sample_bucket : sample_buckets_) { |
| 994 | TraceBucketData* bucket_data = &sample_bucket; |
| 995 | bucket_data->callback(bucket_data); |
| 996 | } |
| 997 | } |
| 998 | |
| 999 | void TraceSamplingThread::RegisterSampleBucket( |
| 1000 | TRACE_EVENT_API_ATOMIC_WORD* bucket, |