Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
dcdb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
7
Issues
7
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
dcdb
dcdb
Commits
cc3feb99
Commit
cc3feb99
authored
Jan 23, 2020
by
Carla Guillen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing small bugs
parent
c8385d32
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
analytics/operators/smucngperf/SMUCNGPerfOperator.cpp
analytics/operators/smucngperf/SMUCNGPerfOperator.cpp
+6
-2
No files found.
analytics/operators/smucngperf/SMUCNGPerfOperator.cpp
View file @
cc3feb99
...
...
@@ -92,8 +92,9 @@ SMUCNGPerfOperator::SMUCNGPerfOperator(const std::string& name): OperatorTemplat
_profileMetricToMetricIds
[
SMUCSensorBase
::
IO_BYTES_READ_PER_OP_PROF
]
=
{
SMUCSensorBase
::
IOBYTESREAD
,
SMUCSensorBase
::
IOREADS
};
_profileMetricToMetricIds
[
SMUCSensorBase
::
IO_BYTES_WRITE_PER_OP_PROF
]
=
{
SMUCSensorBase
::
IOBYTESWRITE
,
SMUCSensorBase
::
IOWRITES
};
_flop_metric
=
{
SMUCSensorBase
::
FLOPS
,
SMUCSensorBase
::
PACKED_FLOPS
,
SMUCSensorBase
::
AVX512_TOVECTORIZED_RATIO
,
SMUCSensorBase
::
VECTORIZATION_RATIO
,
SMUCSensorBase
::
SINGLE_PRECISION_TO_TOTAL_RATIO
};
_flop_metric
=
{
SMUCSensorBase
::
FLOPS
,
SMUCSensorBase
::
PACKED_FLOPS
,
SMUCSensorBase
::
AVX512_TOVECTORIZED_RATIO
,
SMUCSensorBase
::
VECTORIZATION_RATIO
,
SMUCSensorBase
::
SINGLE_PRECISION_TO_TOTAL_RATIO
,
SMUCSensorBase
::
PACKED128_FLOPS
,
SMUCSensorBase
::
PACKED256_FLOPS
,
SMUCSensorBase
::
PACKED512_FLOPS
,
SMUCSensorBase
::
SINGLE_PRECISION_FLOPS
,
SMUCSensorBase
::
DOUBLE_PRECISION_FLOPS
};
}
SMUCNGPerfOperator
::~
SMUCNGPerfOperator
()
{
...
...
@@ -115,6 +116,9 @@ void SMUCNGPerfOperator::copy(const SMUCNGPerfOperator& other){
this
->
_measuring_interval_s
=
other
.
_measuring_interval_s
;
this
->
_go_back_ns
=
other
.
_go_back_ns
;
this
->
_metricPerSecToId
=
other
.
_metricPerSecToId
;
this
->
_metricRatioToPair
=
other
.
_metricRatioToPair
;
this
->
_profileMetricToMetricIds
=
other
.
_profileMetricToMetricIds
;
this
->
_flop_metric
=
other
.
_flop_metric
;
}
void
SMUCNGPerfOperator
::
printConfig
(
LOG_LEVEL
ll
)
{
...
...
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