#include <Utilities/Timing/interface/GenTimer.h>
Public Types | |
typedef GenTimer< Time > | IT |
Public Member Functions | |
Bias (unsigned int n=5000) | |
Public Attributes | |
double | mes |
IntervalType | met |
Definition at line 60 of file GenTimer.h.
Definition at line 61 of file GenTimer.h.
Definition at line 64 of file GenTimer.h.
References i, it, GenTimer< Time >::lap(), GenTimer< Time >::Bias::mes, GenTimer< Time >::Bias::met, n, GenTimer< Time >::start(), and GenTimer< Time >::stop().
00064 { 00065 mes=0.; 00066 met=0; 00067 if(n==0) return; 00068 IT it; 00069 for (unsigned int i=0; i<n;i++) { 00070 it.start();it.stop(); 00071 } 00072 mes = it.lap().seconds()/double(n); 00073 met = it.lap().ticks()/IntervalType(n); 00074 }
Definition at line 62 of file GenTimer.h.
Referenced by GenTimer< Time >::Bias::Bias(), and GenTimer< Time >::bias().
IntervalType GenTimer< Time >::Bias::met |
Definition at line 63 of file GenTimer.h.
Referenced by GenTimer< Time >::Bias::Bias(), and GenTimer< Time >::bias().