liboilprofileliboilprofile — | |
Details
OIL_PROFILE_HIST_LENGTH
#define OIL_PROFILE_HIST_LENGTH 10
OilProfile
typedef struct {
unsigned long start;
unsigned long stop;
unsigned long min;
unsigned long last;
unsigned long total;
int n;
int hist_n;
unsigned long hist_time[OIL_PROFILE_HIST_LENGTH];
int hist_count[OIL_PROFILE_HIST_LENGTH];
} OilProfile;
oil_profile_stamp()
#define oil_profile_stamp() oil_profile_stamp_gtod()
oil_profile_stamp_gtod ()
unsigned long oil_profile_stamp_gtod (void);
oil_profile_init ()
void oil_profile_init (OilProfile *prof);
oil_profile_stop_handle ()
void oil_profile_stop_handle (OilProfile *prof);
oil_profile_get_ave_std ()
void oil_profile_get_ave_std (OilProfile *prof,
double *ave_p,
double *std_p);
oil_profile_start()
#define oil_profile_start(x)
oil_profile_stop()
#define oil_profile_stop(x)