History

Change profiling output file extension to CSV

Karol Suprynowicz committed 3 years ago

Commit db1680c1 parent a84c68f1 file · +1 −4Browse files

Showing the changes to libraries/script-engine/src/v8/ScriptEngineV8.cpp (1 of 1 file). Show all

Unified · Split

libraries/script-engine/src/v8/ScriptEngineV8.cpp+1−4
@@ -1479,7 +1479,7 @@ int getTotalNodeHitCount(const v8::CpuProfileNode *node) { · 1478 unmodified lines
14791479 }
14801480
14811481 QString getLogFileName() {
1482− static const QString FILENAME_FORMAT = "overte-profile_%1.txt";
1482+ static const QString FILENAME_FORMAT = "overte-profile_%1.csv";
14831483 static const QString DATETIME_FORMAT = "yyyy-MM-dd_hh.mm.ss";
14841484 static const QString LOGS_DIRECTORY = "Logs";
14851485
@@ -1491,9 +1491,6 @@ QString getLogFileName() { · 5 unmodified lines
14911491 }
14921492
14931493 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−
14971494 if (!_profiler || !_profilerId) {
14981495 qWarning(scriptengine_v8) << "ScriptEngineV8::stopProfilingAndSave: Profiler is not running";
14991496 return;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t