summaryrefslogblamecommitdiffstats
path: root/converter/cTimer.cpp
blob: afd7b4db1a5782dfcf4a7a0f10a0a404d814f823 (plain) (tree)
1
2
3
4
5
6
7
8
9
                   







                                                    
#include "cTimer.h"

double diffclock(clock_t clock1,clock_t clock2)
{
        double diffticks=clock1-clock2;
        double diffms=(diffticks*10)/CLOCKS_PER_SEC;
        return diffms;
}