14 #include "boost/tokenizer.hpp" 17 #include <sys/types.h> 26 actionId_(pset.getUntrackedParameter<
int>(
"defaultAction",-1)),
27 intqualifier_(pset.getUntrackedParameter<
int>(
"defaultQualifier",0)),
28 qualifier2_(pset.getUntrackedParameter<double>(
"secondQualifier",1)),
29 actionRequired_(actionId_!=-1)
36 timingHisto_ =
new TH1D(
"timingHisto_",
"Total time for all modules per event",100,0,1000);
149 unsigned int iterations = 0;
176 while(
true){ind+=
step;
if(ind>1000000) step = -1;
if(ind==0) step = 1;}
190 iterations = 100*
static_cast<unsigned int>(
193 for(
unsigned int j=0; j<iterations;j++){
199 iterations =
static_cast<unsigned int>(
202 TRandom3
random(iterations);
203 const size_t dataSize = 32*500;
204 std::vector<double>
data(dataSize);
205 random.RndmArray(dataSize, &data[0]);
207 for(
unsigned int j=0; j<iterations;j++){
208 const size_t index =
static_cast<size_t>(random.Rndm() * dataSize + 0.5);
211 if ( random.Rndm() < 0.1 )
219 gettimeofday(&tv_now,
nullptr);
220 if ((
unsigned)(tv_now.tv_sec-
tv_start_.tv_sec)>intqualifier_)
226 void *vp = malloc(1024);
227 memset((
char *)vp - 32, 0, 1024);
239 ::usleep(iterations*1000);
249 iterations *= 100000;
250 for(
unsigned int j=0; j<iterations;j++){
unsigned int intqualifier_
void beginRun(const edm::Run &r, const edm::EventSetup &iSetup) override
void __attribute__((optimize("O0"))) ExceptionGenerator
void analyze(const edm::Event &e, const edm::EventSetup &c) override
char data[epos_bytes_allocation]
void endLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) override