Home | History | Annotate | Download | only in core

Lines Matching full:traceeventsamplingstatescope

44         TraceEventSamplingStateScope<bucket_number>::Set(category "\0" name)
48 skia::tracing_internals::TraceEventSamplingStateScope<bucket_number>::Current()
58 skia::tracing_internals::TraceEventSamplingStateScope<bucket_number> \
500 // TraceEventSamplingStateScope records the current sampling state
504 class TraceEventSamplingStateScope {
506 TraceEventSamplingStateScope(const char* category_and_name) {
507 previous_state_ = TraceEventSamplingStateScope<BucketNumber>::Current();
508 TraceEventSamplingStateScope<BucketNumber>::Set(category_and_name);
511 ~TraceEventSamplingStateScope() {
512 TraceEventSamplingStateScope<BucketNumber>::Set(previous_state_);