Public Member Functions | Private Attributes
X86_Timer Class Reference

#include <x86_timer.hh>

List of all members.

Public Member Functions

void add_get_click (void)
void clear (void)
void dump_history (string filemane)
void dump_statistics (string filemane)
void fill_history_clicks (void)
void find_frequency (void)
double frequency (void)
unsigned long long get_click (void)
double get_elapsed_time_in_second (void)
double get_mean_clicks (void)
double get_most_occured_clicks (void)
double get_shortest_clicks (void)
void start (void)
void stop (void)
 X86_Timer (void)

Private Attributes

union {
   unsigned long int   n32 [2]
   unsigned long long   n64
_click_start
union {
   unsigned long int   n32 [2]
   unsigned long long   n64
_click_stop
map< unsigned long long,
unsigned long long > 
_counted_clicks
double _frequency
vector< double > _history_mean_clicks
vector< double > _history_most_occured_clicks
vector< double > _history_shortest_clicks
unsigned long long _nb_sample

Detailed Description

Definition at line 44 of file x86_timer.hh.


Constructor & Destructor Documentation

X86_Timer::X86_Timer ( void  ) [inline]

Definition at line 48 of file x86_timer.hh.


Member Function Documentation

void X86_Timer::add_get_click ( void  ) [inline]

Definition at line 111 of file x86_timer.hh.

void X86_Timer::clear ( void  ) [inline]

Definition at line 204 of file x86_timer.hh.

void X86_Timer::dump_history ( string  filemane) [inline]

Definition at line 133 of file x86_timer.hh.

void X86_Timer::dump_statistics ( string  filemane) [inline]

Definition at line 119 of file x86_timer.hh.

void X86_Timer::fill_history_clicks ( void  ) [inline]

Definition at line 175 of file x86_timer.hh.

void X86_Timer::find_frequency ( void  ) [inline]

INFOS("CPU frequency : "<< _frequency);

Definition at line 84 of file x86_timer.hh.

double X86_Timer::frequency ( void  ) [inline]

Definition at line 67 of file x86_timer.hh.

unsigned long long X86_Timer::get_click ( void  ) [inline]

Definition at line 78 of file x86_timer.hh.

double X86_Timer::get_elapsed_time_in_second ( void  ) [inline]

Definition at line 71 of file x86_timer.hh.

double X86_Timer::get_mean_clicks ( void  ) [inline]

Definition at line 153 of file x86_timer.hh.

double X86_Timer::get_most_occured_clicks ( void  ) [inline]

Definition at line 184 of file x86_timer.hh.

double X86_Timer::get_shortest_clicks ( void  ) [inline]

Definition at line 169 of file x86_timer.hh.

void X86_Timer::start ( void  ) [inline]

Definition at line 53 of file x86_timer.hh.

void X86_Timer::stop ( void  ) [inline]

Definition at line 60 of file x86_timer.hh.


Member Data Documentation

union { ... } X86_Timer::_click_start [private]
union { ... } X86_Timer::_click_stop [private]
map<unsigned long long,unsigned long long> X86_Timer::_counted_clicks [private]

Definition at line 233 of file x86_timer.hh.

double X86_Timer::_frequency [private]

Definition at line 231 of file x86_timer.hh.

Definition at line 235 of file x86_timer.hh.

Definition at line 237 of file x86_timer.hh.

Definition at line 236 of file x86_timer.hh.

unsigned long long X86_Timer::_nb_sample [private]

Definition at line 239 of file x86_timer.hh.

unsigned long int X86_Timer::n32[2]

Definition at line 221 of file x86_timer.hh.

unsigned long long X86_Timer::n64

Definition at line 222 of file x86_timer.hh.


The documentation for this class was generated from the following file:


re_vision
Author(s): Dorian Galvez-Lopez
autogenerated on Sun Jan 5 2014 11:34:29