| 1 | // Copyright 2013 The Flutter Authors. All rights reserved. |
|---|---|
| 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | #include "flutter/shell/common/pipeline.h" |
| 6 | |
| 7 | namespace flutter { |
| 8 | |
| 9 | size_t GetNextPipelineTraceID() { |
| 10 | static std::atomic_size_t PipelineLastTraceID = {0}; |
| 11 | return ++PipelineLastTraceID; |
| 12 | } |
| 13 | |
| 14 | } // namespace flutter |
| 15 |
