29 const
std::
string& name,
33 , m_normFactor( 0.001 )
39 declareProperty(
"shots" , m_shots );
40 declareProperty(
"Normalised" , m_normalised =
false );
41 declareProperty(
"GlobalTiming" , m_globalTiming =
false );
42 declareProperty(
"NameSize" , m_headerSize = 30,
43 "Number of characters to be used in algorithm name column" );
63 IRndmGenSvc* rsvc = svc<IRndmGenSvc>(
"RndmGenSvc", true );
68 while( 0 < --shots ) { sum +=
gauss() *
sum ; }
73 info() <<
"This machine has a speed about "
75 <<
" times the speed of a 2.8 GHz Xeon." <<
endmsg ;
90 <<
"This machine has a speed about "
92 <<
" times the speed of a 2.8 GHz Xeon.";
114 std::string::size_type beg = name.find_first_not_of(
" \t");
115 std::string::size_type
end = name.find_last_not_of(
" \t");
118 beg =
m_timerList[kk].name().find_first_not_of(
" \t");
119 end =
m_timerList[kk].name().find_last_not_of(
" \t");
132 info() <<
"Saving Timing histograms" <<
endmsg;
134 AIDA::IHistogram1D* histoTime =
book(
"ElapsedTime", 0, bins, bins);
135 AIDA::IHistogram1D* histoCPU =
book(
"CPUTime", 0, bins, bins);
136 AIDA::IHistogram1D* histoCount =
book(
"Count", 0, bins, bins);
140 for (
size_t kk = 0 ; bins > kk ; kk++ )
145 tHCount->Fill(tfsq.
name().c_str(), tfsq.
count());