Showing the changes to libraries/script-engine/src/v8/ScriptEngineV8.cpp (1 of 1 file). Show all
Unified · Split
| @@ -1479,7 +1479,7 @@ int getTotalNodeHitCount(const v8::CpuProfileNode *node) { · 1478 unmodified lines | ||
| 1479 | 1479 | } |
| 1480 | 1480 | |
| 1481 | 1481 | QString getLogFileName() { |
| 1482 | − static const QString FILENAME_FORMAT = "overte-profile_%1.txt"; | |
| 1482 | + static const QString FILENAME_FORMAT = "overte-profile_%1.csv"; | |
| 1483 | 1483 | static const QString DATETIME_FORMAT = "yyyy-MM-dd_hh.mm.ss"; |
| 1484 | 1484 | static const QString LOGS_DIRECTORY = "Logs"; |
| 1485 | 1485 | |
| @@ -1491,9 +1491,6 @@ QString getLogFileName() { · 5 unmodified lines | ||
| 1491 | 1491 | } |
| 1492 | 1492 | |
| 1493 | 1493 | void ScriptEngineV8::stopProfilingAndSave() { |
| 1494 | − // the following will produce 11/18 13:55:36 | |
| 1495 | − const QString DATE_STRING_FORMAT = "MM/dd hh:mm:ss"; | |
| 1496 | − | |
| 1497 | 1494 | if (!_profiler || !_profilerId) { |
| 1498 | 1495 | qWarning(scriptengine_v8) << "ScriptEngineV8::stopProfilingAndSave: Profiler is not running"; |
| 1499 | 1496 | return; |