Skip to content

Commit

Permalink
[Janitor mode] Fix whitespace
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@23068 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
OpenModelica-Hudson committed Oct 30, 2014
1 parent b1a2bc2 commit e4f7af7
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions Compiler/Template/CodegenCpp.tpl
Expand Up @@ -1297,9 +1297,9 @@ case SIMCODE(modelInfo=MODELINFO(__), makefileParams=MAKEFILE_PARAMS(__)) then
match(getConfigString(PROFILING_LEVEL))
case("none") then ''
case("all_perf") then '#include "Core/Utils/extension/measure_time_papi.hpp"'
else
else
<<
#ifdef USE_SCOREP
#ifdef USE_SCOREP
#include "Core/Utils/extension/measure_time_scorep.hpp"
#else
#include "Core/Utils/extension/measure_time_rdtsc.hpp"
Expand All @@ -1317,15 +1317,15 @@ case SIMCODE(modelInfo=MODELINFO(__), makefileParams=MAKEFILE_PARAMS(__)) then
<%
match(getConfigString(PROFILING_LEVEL))
case("none") then '//no profiling used'
case("all_perf") then
case("all_perf") then
<<
#ifdef USE_SCOREP
MeasureTimeScoreP::initialize();
#else
MeasureTimePAPI::initialize();
#endif
>>
else
else
<<
#ifdef USE_SCOREP
MeasureTimeScoreP::initialize();
Expand Down
16 changes: 8 additions & 8 deletions Compiler/Template/CodegenCppHpcom.tpl
Expand Up @@ -1405,9 +1405,9 @@ case SIMCODE(modelInfo=MODELINFO(__), makefileParams=MAKEFILE_PARAMS(__)) then
match(getConfigString(PROFILING_LEVEL))
case("none") then ''
case("all_perf") then '#include "Core/Utils/extension/measure_time_papi.hpp"'
else
else
<<
#ifdef USE_SCOREP
#ifdef USE_SCOREP
#include "Core/Utils/extension/measure_time_scorep.hpp"
#else
#include "Core/Utils/extension/measure_time_rdtsc.hpp"
Expand All @@ -1426,15 +1426,15 @@ case SIMCODE(modelInfo=MODELINFO(__), makefileParams=MAKEFILE_PARAMS(__)) then
<%
match(getConfigString(PROFILING_LEVEL))
case("none") then '//no profiling used'
case("all_perf") then
case("all_perf") then
<<
#ifdef USE_SCOREP
MeasureTimeScoreP::initialize();
#else
MeasureTimePAPI::initialize();
#endif
>>
else
else
<<
#ifdef USE_SCOREP
MeasureTimeScoreP::initialize();
Expand Down Expand Up @@ -1532,9 +1532,9 @@ template simulationMainFile(SimCode simCode)
match(getConfigString(PROFILING_LEVEL))
case("none") then ''
case("all_perf") then '#include "Core/Utils/extension/measure_time_papi.hpp"'
else
else
<<
#ifdef USE_SCOREP
#ifdef USE_SCOREP
#include "Core/Utils/extension/measure_time_scorep.hpp"
#else
#include "Core/Utils/extension/measure_time_rdtsc.hpp"
Expand All @@ -1555,15 +1555,15 @@ template simulationMainFile(SimCode simCode)
<%
match(getConfigString(PROFILING_LEVEL))
case("none") then '//no profiling used'
case("all_perf") then
case("all_perf") then
<<
#ifdef USE_SCOREP
MeasureTimeScoreP::initialize();
#else
MeasureTimePAPI::initialize();
#endif
>>
else
else
<<
#ifdef USE_SCOREP
MeasureTimeScoreP::initialize();
Expand Down

0 comments on commit e4f7af7

Please sign in to comment.