48 static char THIS_FILE[] = __FILE__;
71 cnt =
new unsigned long[hstgMax - hstgMin + 1];
72 for(
int i = hstgMin; i <= hstgMax; i++ ) cnt[i - hstgMin] = 0;
86 if( !prflFile.IsOpened() )
100 stro.Printf( wxT(
"%-20s|%10d|intg: %10d| unterhalb\n" ),
105 prflFile.Write( stro );
108 for(
int i = hstgMin; i <= hstgMax; i++ )
110 intg += cnt[i - hstgMin];
111 n += cnt[i - hstgMin];
112 sum += cnt[i - hstgMin] * double( i );
113 sumSqr += cnt[i - hstgMin] * double( i ) * double( i );
114 stro.Printf( wxT(
"%-20s|%10d|intg: %10d|%10d\n" ),
120 prflFile.Write( stro );
125 stro.Printf( wxT(
"%-20s|%10d|intg: %10d| oberhalb\n" ),
130 prflFile.Write( stro );
132 stro.Printf( wxT(
"%-20s|Summe x %20.3lf\n" ),
136 prflFile.Write( stro );
137 stro.Printf( wxT(
"%-20s|Mittelwert x %20.3lf\n" ),
141 prflFile.Write( stro );
142 stro.Printf( wxT(
"%-20s|Mittelwert x^2 %20.3lf\n\n" ),
146 prflFile.Write( stro );
static void OpenPrflFile()
opens the profiling data file, if not yet open.
a2dProfilerHistogram(wxString idIn, int hstgMinIn, int hstgMaxIn)
constructor
~a2dProfilerHistogram()
destructor