timer.hpp File Reference
#include <sys/time.h>
#include <iostream>
#include <stack>
Include dependency graph for timer.hpp:

Classes

struct  StackTicToc

Defines

#define SMOOTH(s)   for(size_t _smooth=0;_smooth<s;++_smooth)

Functions

double operator- (const struct timeval &t1, const struct timeval &t0)

Define Documentation

#define SMOOTH (   s)    for(size_t _smooth=0;_smooth<s;++_smooth)

Referenced by StackTicToc::toc().


Function Documentation

double operator- ( const struct timeval &  t1,
const struct timeval &  t0 
) [inline]