Commit ef16dd6 Vladyslav Goncharuk
committed
1 parent 0b72fc9 commit ef16dd6 Copy full SHA for ef16dd6
File tree 3 files changed +10
-4
lines changed
dltmessageanalyzerplugin/src
3 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 23
23
typedef double tPlotData;
24
24
typedef std::vector<tPlotData> tPlotDataVec;
25
25
26
- typedef int tEventId;
26
+ typedef int64_t tEventId;
27
27
28
28
typedef tQStringPtrWrapper tPlotGraphMetadataKey;
29
29
typedef tQStringPtrWrapper tPlotGraphMetadataValue;
Original file line number Diff line number Diff line change @@ -677,7 +677,7 @@ CConsoleInputProcessor::tScenariosMap CConsoleInputProcessor::createScenariosMap
677
677
678
678
#ifdef DMA_TC_MALLOC_PROFILING_ENABLED
679
679
result[" dump-memory-stats" ] = CConsoleInputProcessor::tScenarioData ([](const CConsoleInputProcessor::tParamMap&){dumpMemoryStatistics ();}
680
- , " - prints tcmalloc memory stats" );
680
+ , " - prints tcmalloc memory stats. " );
681
681
#endif
682
682
683
683
return result;
Original file line number Diff line number Diff line change @@ -604,6 +604,7 @@ namespace detail
604
604
struct tGraphMetadataItem
605
605
{
606
606
TOptional<QString> graphName;
607
+ tMsgId usedMsgId = -1 ;
607
608
};
608
609
609
610
typedef std::map<tGraphId, tGraphMetadataItem> tGraphIdMetadataMap;
@@ -1349,7 +1350,12 @@ namespace detail
1349
1350
auto & axisRectNameMap = axisNameMetadataMap[parsingResult.axisRectName ].graphIdMetadataMap ;
1350
1351
auto & metadataItem = axisRectNameMap[parsingResult.graphId ];
1351
1352
1352
- metadataItem.graphName .setValue (" " );
1353
+ if (!metadataItem.graphName .isSet () || (metadataItem.graphName .isSet () &&
1354
+ !metadataItem.graphName .getValue ().isEmpty () && metadataItem.usedMsgId != msgId ))
1355
+ {
1356
+ metadataItem.graphName .setValue (" " );
1357
+ metadataItem.usedMsgId = msgId;
1358
+ }
1353
1359
1354
1360
if (true == parsingResult.graphName .isSet () &&
1355
1361
false == parsingResult.graphName .getValue ().isEmpty ())
@@ -1541,7 +1547,7 @@ namespace detail
1541
1547
auto valueStr = getValueFromStringCoverageMap ();
1542
1548
1543
1549
bool bValueResolved = false ;
1544
- auto valueInt = valueStr.toInt (&bValueResolved);
1550
+ auto valueInt = valueStr.toLongLong (&bValueResolved);
1545
1551
1546
1552
if (false == bValueResolved)
1547
1553
{
You can’t perform that action at this time.
0 commit comments