| Index: runtime/vm/profiler.h
|
| diff --git a/runtime/vm/profiler.h b/runtime/vm/profiler.h
|
| index 0602b27c31311fab179081822ce27be7892946cc..f9742b303b32bdbc30c977a687e7f6bba7ea8034 100644
|
| --- a/runtime/vm/profiler.h
|
| +++ b/runtime/vm/profiler.h
|
| @@ -75,9 +75,18 @@ class IsolateProfilerData {
|
| sample_buffer_ = sample_buffer;
|
| }
|
|
|
| + bool blocked() const {
|
| + return block_count_ > 0;
|
| + }
|
| +
|
| + void Block();
|
| +
|
| + void Unblock();
|
| +
|
| private:
|
| SampleBuffer* sample_buffer_;
|
| bool own_sample_buffer_;
|
| + intptr_t block_count_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(IsolateProfilerData);
|
| };
|
|
|