* Get name of the file that will be written. * @return File name of profiling output file. */
| 150 | * @return File name of profiling output file. |
| 151 | */ |
| 152 | std::string NewGRFProfiler::GetOutputFilename() const |
| 153 | { |
| 154 | return fmt::format("{}grfprofile-{:%Y%m%d-%H%M}-{:08X}.csv", FiosGetScreenshotDir(), fmt::localtime(time(nullptr)), std::byteswap(this->grffile->grfid)); |
| 155 | } |
| 156 | |
| 157 | /* static */ uint32_t NewGRFProfiler::FinishAll() |
| 158 | { |
no test coverage detected