| 31 | } |
| 32 | |
| 33 | cmMakefileProfilingData::~cmMakefileProfilingData() noexcept |
| 34 | { |
| 35 | if (this->ProfileStream.good()) { |
| 36 | try { |
| 37 | this->ProfileStream << "]"; |
| 38 | this->ProfileStream.close(); |
| 39 | } catch (...) { |
| 40 | cmSystemTools::Error("Error writing profiling output!"); |
| 41 | } |
| 42 | } |
| 43 | } |
| 44 | |
| 45 | void cmMakefileProfilingData::StartEntry(std::string const& category, |
| 46 | std::string const& name, |