Source-highlight Library
Public Member Functions | Private Attributes | List of all members
srchilite::StopWatch Class Reference

Records elapsed time. More...

#include <stopwatch.h>

Public Member Functions

  StopWatch ()
  constructs a StopWatch object by storing the current time (uses clock())
 
  ~StopWatch ()
  Upon destruction, prints the elapsed time in seconds, since the construction of this StopWatch.
 

Private Attributes

clock_t  start
 

Detailed Description

Records elapsed time.


The documentation for this class was generated from the following files:
  • /home/bettini/work/source-highlight/src-highlite/lib/srchilite/stopwatch.h
  • /home/bettini/work/source-highlight/src-highlite/lib/srchilite/stopwatch.cpp

AltStyle によって変換されたページ (->オリジナル) /