summaryrefslogtreecommitdiffstats
path: root/converter/source/cTimer.cpp
blob: 6e6314d100d6f500bdac9de0e645bb81f9452550 (plain) (blame)
1
2
3
4
5
6
7
8
9
#include "cTimer.h"

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