Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
dcdb
dcdb
Commits
b9ec86ab
Commit
b9ec86ab
authored
Oct 28, 2019
by
Carla Guillen
Browse files
small change when initializing vector. Changes in config file are reflected
parent
10efbb0e
Changes
2
Hide whitespace changes
Inline
Side-by-side
analytics/operators/persystsql/PerSystSqlOperator.cpp
View file @
b9ec86ab
...
...
@@ -60,14 +60,14 @@ PerSystSqlOperator::~PerSystSqlOperator() {
PerSystSqlOperator
::
PerSystSqlOperator
(
const
PerSystSqlOperator
&
other
)
:
OperatorTemplate
(
other
.
_name
),
JobOperatorTemplate
(
other
.
_name
){
copy
(
other
);
copy
(
other
);
}
PerSystSqlOperator
&
PerSystSqlOperator
::
operator
=
(
const
PerSystSqlOperator
&
other
){
OperatorTemplate
::
operator
=
(
other
);
JobOperatorTemplate
::
operator
=
(
other
);
copy
(
other
);
return
*
this
;
JobOperatorTemplate
::
operator
=
(
other
);
copy
(
other
);
return
*
this
;
}
void
PerSystSqlOperator
::
copy
(
const
PerSystSqlOperator
&
other
){
...
...
@@ -94,7 +94,9 @@ void PerSystSqlOperator::copy(const PerSystSqlOperator& other){
}
void
PerSystSqlOperator
::
printConfig
(
LOG_LEVEL
ll
)
{
LOG_VAR
(
ll
)
<<
"===================================="
;
LOG_VAR
(
ll
)
<<
"PerSystSQL Operator "
<<
_name
;
LOG_VAR
(
ll
)
<<
"===================================="
;
LOG_VAR
(
ll
)
<<
"backend="
<<
_backend
;
LOG_VAR
(
ll
)
<<
"go_back_ms="
<<
_go_back_ns
/
1e6
;
LOG_VAR
(
ll
)
<<
"_scaling_factor="
<<
_scaling_factor
;
...
...
@@ -175,8 +177,7 @@ void PerSystSqlOperator::compute(U_Ptr unit, qeJobData& jobData) {
return
;
}
std
::
vector
<
std
::
string
>
job_ids
;
job_ids
.
push_back
(
jobData
.
jobId
);
std
::
vector
<
std
::
string
>
job_ids
=
{
jobData
.
jobId
};
std
::
map
<
std
::
string
,
std
::
string
>
job_map
;
std
::
string
table_suffix
;
...
...
dcdbpusher/config/msr.conf
View file @
b9ec86ab
...
...
@@ -10,19 +10,20 @@ group msr_g1 {
interval
1000
;
mqttprefix
01
cpus
0
-
95
htVal
48
sensor
Instructions
{
mqttsuffix
/
instructions
mqttsuffix
/
INSTRUCTIONS
metric
0
x309
}
sensor
Cycles
{
mqttsuffix
/
cycles
mqttsuffix
/
CLOCKS
metric
0
x30A
}
sensor
RefCycles
{
mqttsuffix
/
refcycles
mqttsuffix
/
CLOCKS_REF
metric
0
x30B
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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