Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
dcdb
dcdb
Commits
ccfea02a
Commit
ccfea02a
authored
Mar 02, 2020
by
Alessio Netti
Browse files
Fixing warnings
parent
b2ceb1cb
Changes
3
Hide whitespace changes
Inline
Side-by-side
analytics/includes/OperatorTemplate.h
View file @
ccfea02a
...
...
@@ -214,7 +214,7 @@ public:
virtual
float
getMsgRate
()
override
{
float
msgRate
=
0
;
for
(
const
auto
&
u
:
_units
)
{
msgRate
+=
(
float
)
u
->
getBaseOutputs
().
size
()
*
(
1000.0
f
/
(
float
)
_interval
)
/
(
float
)
_minValue
;
msgRate
+=
(
float
)
u
->
getBaseOutputs
().
size
()
*
(
1000.0
f
/
(
float
)
_interval
)
/
(
float
)
_minValue
s
;
}
return
msgRate
;
}
...
...
analytics/operators/persystsql/PerSystSqlOperator.cpp
View file @
ccfea02a
...
...
@@ -51,7 +51,7 @@ PerSystSqlOperator::PerSystSqlOperator(const std::string& name) :
OperatorTemplate
(
name
),
JobOperatorTemplate
(
name
),
_number_of_even_quantiles
(
0
),
_severity_formula
(
NOFORMULA
),
_severity_threshold
(
0
),
_severity_exponent
(
0
),
_severity_max_memory
(
0
),
_go_back_ns
(
0
),
_backend
(
DEFAULT
),
_scaling_factor
(
1
),
_property_id
(
0
),
_searchedOnceForMetaData
(
false
)
{
1
),
_searchedOnceForMetaData
(
false
)
,
_property_id
(
0
)
{
_persystdb
=
MariaDB
::
getInstance
();
}
...
...
dcdbpusher/sensors/ipmi/IPMISensorBase.h
View file @
ccfea02a
...
...
@@ -173,7 +173,7 @@ class IPMISensorBase : public SensorBase {
}
}
void
printConfig
(
LOG_LEVEL
ll
,
LOGGER
&
lg
,
unsigned
leadingSpaces
=
16
)
{
void
printConfig
(
LOG_LEVEL
ll
,
LOGGER
&
lg
,
unsigned
leadingSpaces
=
16
)
override
{
std
::
string
leading
(
leadingSpaces
,
' '
);
LOG_VAR
(
ll
)
<<
leading
<<
" Type: "
<<
getTypeString
();
switch
(
_type
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment