#include <cstddef>
Go to the source code of this file.
Data Structures | |
class | noncopyable |
class | scoped_ptr< T > |
class | scoped_array< T > |
Functions | |
double | op_ratio (double count, double total) |
General purpose C++ utility
Definition in file utility.h.
double op_ratio | ( | double | count, | |
double | total | |||
) | [inline] |
count | ||
total | return total == 0 ? 1.0 : (count / total); |
Definition at line 90 of file utility.h.
Referenced by arc_recorder::process(), arc_recorder::process_children(), profile_container::select_filename(), and profile_container::select_symbols().