| /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying |
| file Copyright.txt or https://cmake.org/licensing for details. */ |
| #include <cm3p/json/value.h> // IWYU pragma: keep |
| #include "cmsys/FStream.hxx" |
| class cmMakefileProfilingData |
| cmMakefileProfilingData(const std::string&); |
| ~cmMakefileProfilingData() noexcept; |
| void StartEntry(const std::string& category, const std::string& name, |
| cm::optional<Json::Value> args = cm::nullopt); |
| RAII(const RAII&) = delete; |
| RAII(cmMakefileProfilingData& data, const std::string& category, |
| cm::optional<Json::Value> args = cm::nullopt); |
| RAII& operator=(const RAII&) = delete; |
| RAII& operator=(RAII&&) noexcept; |
| cmMakefileProfilingData* Data = nullptr; |
| cmsys::ofstream ProfileStream; |
| std::unique_ptr<Json::StreamWriter> JsonWriter; |