//===================================================== // File : x86_timer.hh // Author : L. Plagne <laurent.plagne@edf.fr)> // Copyright (C) EDF R&D, mar d�c 3 18:59:35 CET 2002 //===================================================== // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License // as published by the Free Software Foundation; either version 2 // of the License, or (at your option) any later version. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // You should have received a copy of the GNU General Public License // along with this program; if not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. //
/// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
inlinevoid find_frequency(java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
top intdummyjava.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
initial = time(0);
start();
dummy+=2;
}
// On est au debut d'un cycle d'une seconde !!! add_get_click )
_counted_clicks[get_click()]++;
start(); do {
dummy+=2;
} while(time(0)=fill_history_clicks)java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
final
stop(; // INFOS("fine grained time : "<< get_elapsed_time_in_second()); // INFOS("coarse grained time : "<< final-initial);
_requency=frequency()/(final-initial; /// INFOS("CPU frequency : "<< _frequency);
ofstream filemane(),::outjava.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
for(int i=0 ; i<_history_mean_clicks.java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
{java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
< history_shortest_clicks < ""
}
outfile.close();
}
double
std::map<unsignedlong ((_.()).);
unsignedlonglong mean_clicks=0;
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
double get_shortest_clicks( void ){
returndouble((*_counted_clicks.begin()).first);
}
void fill_history_clicks( void ){
history_mean_clicks(get_mean_clicks)java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
_.push_backget_shortest_clicks;
_history_most_occured_clicks.push_back(get_most_occured_clicks());
}
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
unsigned
counted_clicks()
::<unsigned , long:: itr
for(itr history_shortest_clicks(;
{
if (max_occurencehistory_most_occured_clicks(java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
max_occurence=*trsecond
moc
java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
}
double();
}
void clear intn322 java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
}click_stop
_.clear)
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
_history_most_occured_clicks);
_nb_sample=0;
}
private :
union
{ unsignedlong unsignedlongn64
} _click_startvectordouble history_shortest_clicks
union
{ long _; unsignedlonglong n64 java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
} _click_stop;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.