forked from cms-sw/cmssw
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request cms-sw#140 from dan131riley/phi3-benchmarks
Phi3 benchmarks
- Loading branch information
Showing
44 changed files
with
204 additions
and
207 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#include "plotting/PlotBenchmarks.hh" | ||
#include "PlotBenchmarks.hh" | ||
|
||
#include <iostream> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,8 @@ | ||
#if !defined(__CINT__) | ||
#include "plotting/PlotBenchmarks.hh" | ||
#endif | ||
|
||
void setupcpp11() | ||
{ | ||
// customize ACLiC's behavior ... | ||
TString o; | ||
// customize MakeSharedLib | ||
o = TString(gSystem->GetMakeSharedLib()); | ||
o = o.ReplaceAll(" -c ", " -std=c++0x -c "); | ||
gSystem->SetMakeSharedLib(o.Data()); | ||
// customize MakeExe | ||
o = TString(gSystem->GetMakeExe()); | ||
o = o.ReplaceAll(" -c ", " -std=c++0x -c "); | ||
gSystem->SetMakeExe(o.Data()); | ||
} | ||
#include "PlotBenchmarks.hh" | ||
#include "PlotBenchmarks.cpp" | ||
|
||
void makeBenchmarkPlots(const TString & arch, const TString & sample) | ||
{ | ||
setupcpp11(); // use this to get PlotBenchmarks to compile ... phiphi ROOT build has ACLiC with C++98! | ||
|
||
gROOT->LoadMacro("plotting/PlotBenchmarks.cpp+g"); | ||
|
||
PlotBenchmarks Benchmarks(arch,sample); | ||
Benchmarks.RunBenchmarkPlots(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,8 @@ | ||
#if !defined(__CINT__) | ||
#include "plotting/PlotMEIFBenchmarks.hh" | ||
#endif | ||
|
||
void setupcpp11() | ||
{ | ||
// customize ACLiC's behavior ... | ||
TString o; | ||
// customize MakeSharedLib | ||
o = TString(gSystem->GetMakeSharedLib()); | ||
o = o.ReplaceAll(" -c ", " -std=c++0x -c "); | ||
gSystem->SetMakeSharedLib(o.Data()); | ||
// customize MakeExe | ||
o = TString(gSystem->GetMakeExe()); | ||
o = o.ReplaceAll(" -c ", " -std=c++0x -c "); | ||
gSystem->SetMakeExe(o.Data()); | ||
} | ||
#include "PlotMEIFBenchmarks.hh" | ||
#include "PlotMEIFBenchmarks.cpp" | ||
|
||
void makeMEIFBenchmarkPlots(const TString & arch, const TString & sample, const TString & build) | ||
{ | ||
setupcpp11(); // use this to get PlotMEIFBenchmarks to compile ... phiphi ROOT build has ACLiC with C++98! | ||
|
||
gROOT->LoadMacro("plotting/PlotMEIFBenchmarks.cpp+g"); | ||
|
||
PlotMEIFBenchmarks MEIFBenchmarks(arch,sample,build); | ||
MEIFBenchmarks.RunMEIFBenchmarkPlots(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,8 @@ | ||
#if !defined(__CINT__) | ||
#include "plotting/PlotsFromDump.hh" | ||
#endif | ||
|
||
void setupcpp11() | ||
{ | ||
// customize ACLiC's behavior ... | ||
TString o; | ||
// customize MakeSharedLib | ||
o = TString(gSystem->GetMakeSharedLib()); | ||
o = o.ReplaceAll(" -c ", " -std=c++0x -c "); | ||
gSystem->SetMakeSharedLib(o.Data()); | ||
// customize MakeExe | ||
o = TString(gSystem->GetMakeExe()); | ||
o = o.ReplaceAll(" -c ", " -std=c++0x -c "); | ||
gSystem->SetMakeExe(o.Data()); | ||
} | ||
#include "PlotsFromDump.hh" | ||
#include "PlotsFromDump.cpp" | ||
|
||
void makePlotsFromDump(const TString & sample, const TString & build) | ||
{ | ||
setupcpp11(); // use this to get PlotsFromDump to compile ... phiphi ROOT build has ACLiC with C++98! | ||
|
||
gROOT->LoadMacro("plotting/PlotsFromDump.cpp+g"); | ||
|
||
PlotsFromDump Plots(sample,build); | ||
Plots.RunPlotsFromDump(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,8 @@ | ||
#if !defined(__CINT__) | ||
#include "plotting/StackValidation.hh" | ||
#endif | ||
|
||
void setupcpp11() | ||
{ | ||
// customize ACLiC's behavior ... | ||
TString o; | ||
// customize MakeSharedLib | ||
o = TString(gSystem->GetMakeSharedLib()); | ||
o = o.ReplaceAll(" -c ", " -std=c++0x -c "); | ||
gSystem->SetMakeSharedLib(o.Data()); | ||
// customize MakeExe | ||
o = TString(gSystem->GetMakeExe()); | ||
o = o.ReplaceAll(" -c ", " -std=c++0x -c "); | ||
gSystem->SetMakeExe(o.Data()); | ||
} | ||
#include "StackValidation.hh" | ||
#include "StackValidation.cpp" | ||
|
||
void makeValidation(const TString & label = "", const TString & extra = "", const Bool_t cmsswComp = false) | ||
{ | ||
setupcpp11(); // use this to get StackValidation to compile ... phiphi ROOT build has ACLiC with C++98! | ||
|
||
gROOT->LoadMacro("plotting/StackValidation.cpp+g"); | ||
|
||
StackValidation Stacks(label,extra,cmsswComp); | ||
Stacks.MakeValidationStacks(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.