Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
vite
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
5
Issues
5
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
solverstack
vite
Commits
b0e35db3
Commit
b0e35db3
authored
Dec 05, 2018
by
Mathieu Faverge
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
A little more cleanup
parent
5e4b2574
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
88 additions
and
87 deletions
+88
-87
src/parser/OTF2Parser/ParserDefinitionOTF2.cpp
src/parser/OTF2Parser/ParserDefinitionOTF2.cpp
+88
-87
No files found.
src/parser/OTF2Parser/ParserDefinitionOTF2.cpp
View file @
b0e35db3
/*
** This file is part of the ViTE project.
**
** This software is governed by the CeCILL-A license under French law
** and abiding by the rules of distribution of free software. You can
** use, modify and/or redistribute the software under the terms of the
** CeCILL-A license as circulated by CEA, CNRS and INRIA at the following
** URL: "http://www.cecill.info".
**
** As a counterpart to the access to the source code and rights to copy,
** modify and redistribute granted by the license, users are provided
** only with a limited warranty and the software's author, the holder of
** the economic rights, and the successive licensors have only limited
** liability.
**
** In this respect, the user's attention is drawn to the risks associated
** with loading, using, modifying and/or developing or reproducing the
** software by the user in light of its specific status of free software,
** that may mean that it is complicated to manipulate, and that also
** therefore means that it is reserved for developers and experienced
** professionals having in-depth computer knowledge. Users are therefore
** encouraged to load and test the software's suitability as regards
** their requirements in conditions enabling the security of their
** systems and/or data to be ensured and, more generally, to use and
** operate it in the same conditions as regards security.
**
** The fact that you are presently reading this means that you have had
** knowledge of the CeCILL-A license and that you accept its terms.
**
**
** ViTE developers are (for version 0.* to 1.0):
**
** - COULOMB Kevin
** - FAVERGE Mathieu
** - JAZEIX Johnny
** - LAGRASSE Olivier
** - MARCOUEILLE Jule
** - NOISETTE Pascal
** - REDONDY Arthur
** - VUCHENER Clément
**
*/
** This file is part of the ViTE project.
**
** This software is governed by the CeCILL-A license under French law
** and abiding by the rules of distribution of free software. You can
** use, modify and/or redistribute the software under the terms of the
** CeCILL-A license as circulated by CEA, CNRS and INRIA at the following
** URL: "http://www.cecill.info".
**
** As a counterpart to the access to the source code and rights to copy,
** modify and redistribute granted by the license, users are provided
** only with a limited warranty and the software's author, the holder of
** the economic rights, and the successive licensors have only limited
** liability.
**
** In this respect, the user's attention is drawn to the risks associated
** with loading, using, modifying and/or developing or reproducing the
** software by the user in light of its specific status of free software,
** that may mean that it is complicated to manipulate, and that also
** therefore means that it is reserved for developers and experienced
** professionals having in-depth computer knowledge. Users are therefore
** encouraged to load and test the software's suitability as regards
** their requirements in conditions enabling the security of their
** systems and/or data to be ensured and, more generally, to use and
** operate it in the same conditions as regards security.
**
** The fact that you are presently reading this means that you have had
** knowledge of the CeCILL-A license and that you accept its terms.
**
**
** ViTE developers are (for version 0.* to 1.0):
**
** - COULOMB Kevin
** - FAVERGE Mathieu
** - JAZEIX Johnny
** - LAGRASSE Olivier
** - MARCOUEILLE Jule
** - NOISETTE Pascal
** - REDONDY Arthur
** - VUCHENER Clément
**
*/
/**
* @file ParserDefinitionOTF2.cpp
*
...
...
@@ -327,17 +327,18 @@ OTF2_CallbackCode ParserDefinitionOTF2::handler_DefMetricMember( void*
OTF2_Type
valueType
,
OTF2_Base
base
,
int64_t
exponent
,
OTF2_StringRef
unit
)
{
OTF2_StringRef
unit
)
{
OTF2_MetricMember
temp
;
temp
.
_id
=
self
;
temp
.
_name
=
name
;
temp
.
_description
=
description
;
temp
.
_metricType
=
metricType
;
temp
.
_metricMode
=
metricMode
;
temp
.
_valueType
=
valueType
;
temp
.
_base
=
base
;
temp
.
_exponent
=
exponent
;
temp
.
_unit
=
unit
;
temp
.
_id
=
self
;
temp
.
_name
=
name
;
temp
.
_description
=
description
;
temp
.
_metricType
=
metricType
;
temp
.
_metricMode
=
metricMode
;
temp
.
_valueType
=
valueType
;
temp
.
_base
=
base
;
temp
.
_exponent
=
exponent
;
temp
.
_unit
=
unit
;
ParserDefinitionOTF2
::
_metric_member
[
self
]
=
temp
;
...
...
@@ -349,8 +350,8 @@ OTF2_CallbackCode ParserDefinitionOTF2::handler_DefMetricClass( void*
uint8_t
numberOfMetrics
,
const
OTF2_MetricMemberRef
*
metricMembers
,
OTF2_MetricOccurrence
metricOccurrence
,
OTF2_RecorderKind
recorderKind
)
{
OTF2_RecorderKind
recorderKind
)
{
OTF2_MetricClass
temp
;
temp
.
_id
=
self
;
temp
.
_metricOccurrence
=
metricOccurrence
;
...
...
@@ -369,16 +370,16 @@ OTF2_CallbackCode ParserDefinitionOTF2::handler_DefMetricInstance( void*
OTF2_MetricRef
metricClass
,
OTF2_LocationRef
recorder
,
OTF2_MetricScope
metricScope
,
uint64_t
scope
)
{
uint64_t
scope
)
{
cout
<<
__FUNCTION__
<<
" not implemented
\n
"
;
return
OTF2_CALLBACK_SUCCESS
;
}
OTF2_CallbackCode
ParserDefinitionOTF2
::
handler_DefMetricClassRecorder
(
void
*
userData
,
OTF2_MetricRef
metric
,
OTF2_LocationRef
recorder
)
{
OTF2_LocationRef
recorder
)
{
cout
<<
__FUNCTION__
<<
" not implemented
\n
"
;
return
OTF2_CALLBACK_SUCCESS
;
}
...
...
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