diff --git a/src/parser/OTF2Parser/ParserDefinitionOTF2.cpp b/src/parser/OTF2Parser/ParserDefinitionOTF2.cpp index 5d9dcf364818239fb4c29b8717451ca66feb9925..4f9a196070122c20560ade567007e9c4b697815b 100644 --- a/src/parser/OTF2Parser/ParserDefinitionOTF2.cpp +++ b/src/parser/OTF2Parser/ParserDefinitionOTF2.cpp @@ -1,50 +1,50 @@ /* -** 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 * * @author François Trahay - * @author Lagrasse Olivier + * @author Lagrasse Olivier * @author Johnny Jazeix * @author Mathieu Faverge * @@ -165,8 +165,8 @@ double ParserDefinitionOTF2::get_timestamp(OTF2_TimeStamp ts) { } OTF2_CallbackCode ParserDefinitionOTF2::handler_DefString(void */*userData */, - OTF2_StringRef id, - const char *value) + OTF2_StringRef id, + const char *value) { _strings[id] = value; return OTF2_CALLBACK_SUCCESS; @@ -201,10 +201,10 @@ OTF2_CallbackCode ParserDefinitionOTF2::handler_DefSystemTreeNode(void } OTF2_CallbackCode ParserDefinitionOTF2::handler_DefLocationGroup(void */*userdata*/, - OTF2_LocationGroupRef location_group_identifier, - OTF2_StringRef name, - OTF2_LocationGroupType type, - OTF2_SystemTreeNodeRef system_tree_parent) { + OTF2_LocationGroupRef location_group_identifier, + OTF2_StringRef name, + OTF2_LocationGroupType type, + OTF2_SystemTreeNodeRef system_tree_parent) { OTF2_LocationGroup *temp = new OTF2_LocationGroup(); temp->_group_id = location_group_identifier; temp->_name_id = name; @@ -230,11 +230,11 @@ OTF2_CallbackCode ParserDefinitionOTF2::handler_DefLocationGroup(void */*userdat OTF2_CallbackCode ParserDefinitionOTF2::handler_DefLocation(void *userData, - OTF2_LocationRef locationIdentifier, - OTF2_StringRef name_id, - OTF2_LocationType location_type, - uint64_t numberOfEvents, - OTF2_LocationGroupRef locationGroup) { + OTF2_LocationRef locationIdentifier, + OTF2_StringRef name_id, + OTF2_LocationType location_type, + uint64_t numberOfEvents, + OTF2_LocationGroupRef locationGroup) { OTF2_Reader* reader = (OTF2_Reader *) userData; OTF2_EvtReader* evt_reader = OTF2_Reader_GetEvtReader(reader, locationIdentifier); OTF2_DefReader* def_reader = OTF2_Reader_GetDefReader(reader, locationIdentifier); @@ -252,10 +252,10 @@ OTF2_CallbackCode ParserDefinitionOTF2::handler_DefLocation(void *userData, if(location_group != NULL) { location_group->_location[locationIdentifier] = temp; } - _location[locationIdentifier] = temp; + _location[locationIdentifier] = temp; #if DEBUG - cout<<"DefLocation(id="<::const_iterator it_l; it_l = _location.begin(); if(it_l != _location.end()) { - OTF2_Location* n = (*it_l).second; - if(n) { - temp_container_type = t->search_container_type(String(get_string_by_id(n->_name_id))); - } + OTF2_Location* n = (*it_l).second; + if(n) { + temp_container_type = t->search_container_type(String(get_string_by_id(n->_name_id))); + } } if(!temp_container_type) temp_container_type = t->search_container_type(String("0"));