Index

C++ Code Documentation

base::Timer

Children: base::ProcTimer

File: BASE/base/Timer.H

public:
  • Timer();
    constructor -- starts the timer
  • virtual ~Timer();
    destructor
  • void start();
  • float time();
    starts the timer and return the time in seconds
protected:
  • static float to_seconds(uint x);
  • clock_t _time;
  • tms _time_struct;
private:
  • Timer( Timer const & );
    disabled copy constructor
  • Timer &operator=( Timer const & );
    disabled assignment operator


base::Timer GANG