##// END OF EJS Templates
Change info to debug on thread display log
perrinel -
r367:df969ff9808a
parent child
Show More
@@ -60,7 +60,7 void Variable::setDateTime(const SqpDateTime &dateTime) noexcept
60 60
61 61 void Variable::setDataSeries(std::shared_ptr<IDataSeries> dataSeries) noexcept
62 62 {
63 qCInfo(LOG_Variable()) << "Variable::setDataSeries" << QThread::currentThread()->objectName();
63 qCDebug(LOG_Variable()) << "Variable::setDataSeries" << QThread::currentThread()->objectName();
64 64 if (!dataSeries) {
65 65 /// @todo ALX : log
66 66 return;
@@ -33,7 +33,7 VariableCacheController::VariableCacheController(QObject *parent)
33 33 void VariableCacheController::addDateTime(std::shared_ptr<Variable> variable,
34 34 const SqpDateTime &dateTime)
35 35 {
36 qCInfo(LOG_VariableCacheController()) << "VariableCacheController::addDateTime"
36 qCDebug(LOG_VariableCacheController()) << "VariableCacheController::addDateTime"
37 37 << QThread::currentThread()->objectName();
38 38 if (variable) {
39 39 auto findVariableIte = impl->m_VariableToSqpDateTimeListMap.find(variable);
@@ -84,7 +84,7 QVector<SqpDateTime>
84 84 VariableCacheController::provideNotInCacheDateTimeList(std::shared_ptr<Variable> variable,
85 85 const SqpDateTime &dateTime)
86 86 {
87 qCInfo(LOG_VariableCacheController())
87 qCDebug(LOG_VariableCacheController())
88 88 << "VariableCacheController::provideNotInCacheDateTimeList"
89 89 << QThread::currentThread()->objectName();
90 90 auto notInCache = QVector<SqpDateTime>{};
@@ -107,7 +107,7 VariableCacheController::provideNotInCacheDateTimeList(std::shared_ptr<Variable>
107 107 QVector<SqpDateTime>
108 108 VariableCacheController::dateCacheList(std::shared_ptr<Variable> variable) const noexcept
109 109 {
110 qCInfo(LOG_VariableCacheController()) << "VariableCacheController::dateCacheList"
110 qCDebug(LOG_VariableCacheController()) << "VariableCacheController::dateCacheList"
111 111 << QThread::currentThread()->objectName();
112 112 try {
113 113 return impl->m_VariableToSqpDateTimeListMap.at(variable);
@@ -11,7 +11,7 namespace {
11 11
12 12 class SqpDataContainer : public QCPGraphDataContainer {
13 13 public:
14 void sqpAdd(const QCPGraphData &data) { mData.append(data); }
14 void appendGraphDataUnsorted(const QCPGraphData &data) { mData.append(data); }
15 15 };
16 16
17 17
@@ -37,7 +37,7 QSharedPointer<QCPAxisTicker> axisTicker(bool isTimeAxis)
37 37 void updateScalarData(QCPAbstractPlottable *component, ScalarSeries &scalarSeries,
38 38 const SqpDateTime &dateTime)
39 39 {
40 qCInfo(LOG_VisualizationGraphHelper()) << "TORM: updateScalarData"
40 qCDebug(LOG_VisualizationGraphHelper()) << "TORM: updateScalarData"
41 41 << QThread::currentThread()->objectName();
42 42 if (auto qcpGraph = dynamic_cast<QCPGraph *>(component)) {
43 43 // Clean the graph
@@ -58,7 +58,7 void updateScalarData(QCPAbstractPlottable *component, ScalarSeries &scalarSerie
58 58 for (auto i = 0; i < count; ++i) {
59 59 const auto x = xData[i];
60 60 if (x >= dateTime.m_TStart && x <= dateTime.m_TEnd) {
61 sqpDataContainer->sqpAdd(QCPGraphData(x, valuesData[i]));
61 sqpDataContainer->appendGraphDataUnsorted(QCPGraphData(x, valuesData[i]));
62 62 }
63 63 }
64 64 sqpDataContainer->sort();
@@ -40,7 +40,7 CosinusProvider::retrieveData(const DataProviderParameters &parameters) const
40 40
41 41 void CosinusProvider::requestDataLoading(const QVector<SqpDateTime> &dateTimeList)
42 42 {
43 qCInfo(LOG_CosinusProvider()) << "CosinusProvider::requestDataLoading"
43 qCDebug(LOG_CosinusProvider()) << "CosinusProvider::requestDataLoading"
44 44 << QThread::currentThread()->objectName();
45 45 // NOTE: Try to use multithread if possible
46 46 for (const auto &dateTime : dateTimeList) {
General Comments 0
You need to be logged in to leave comments. Login now