time_run.cpp File Reference

a profiling program that records the length of time of certain functions of interest. More...

#include "fcdynamic.h"

Functions

int time_run (TrackingSequence *tseq, int num_imgs, int t, double frame, double exposure)
 times different parts of the software


Detailed Description

a profiling program that records the length of time of certain functions of interest.


Function Documentation

int time_run ( TrackingSequence tseq,
int  num_imgs,
int  t,
double  frame,
double  exposure 
)

times different parts of the software

time_run acquires num_imgs and times several functions in a tight loop. At the end of each run the results are printed to stdout, which can then be piped to a file or another program for further processing.

Parameters:
tseq the TrackingSequence specifying the active ROIs and their initial positions in the image prior to tracking an object
t the threshold value to be used with threshold
frame the frame time (e.g. length of time between images) in microseconds
exposure the exposure time (e.g. length of time the shutter is kept open) in microseconds


Generated on Thu Jan 29 21:50:49 2009 for High Speed Vision System by  doxygen 1.5.8