DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ CreateCSVLog()

void MissionBenchmark::CreateCSVLog ( )
inlineprotected

См. определение в файле MissionBenchmark.c строка 366

367 {
368 string fileName = "benchmark";
369 if (m_Config.m_CSVName != string.Empty)
370 fileName = m_Config.m_CSVName;
371
372 m_CSVLog = OpenFile("$profile:" + fileName + ".csv", FileMode.WRITE);
373 if ( m_CSVLog == 0 )
374 OnBenchmarkEnd("Failed to create benchmark .csv");
375
376 if (m_Config.m_DoDevPrints)
377 Print("Benchmark .csv created");
378
379 FPrintln(m_CSVLog, "Location,FPS,Time");
380 }
void OnBenchmarkEnd(string reason)
Определения MissionBenchmark.c:334
ref BenchmarkConfig m_Config
Определения MissionBenchmark.c:131
FileHandle m_CSVLog
Определения MissionBenchmark.c:127
proto void Print(void var)
Prints content of variable to console/log.
FileMode
Определения EnSystem.c:383
proto FileHandle OpenFile(string name, FileMode mode)
Opens File.
proto void FPrintln(FileHandle file, void var)
Write to file and add new line.

Перекрестные ссылки FPrintln(), m_Config, m_CSVLog, OnBenchmarkEnd(), OpenFile() и Print().

Используется в Start().