/* -------------------------------------------------------------------- */
/*                                                                      */
/* FILE : timer.h                                                       */
/*                                                                      */
/* DESC : Advanced Timer.                                               */
/*                                                                      */
/* PROJ : CSA\sampler                                                   */
/*                                                                      */
/* CREATED  16.02.98 12:59    by L&M.                                   */
/*                                                                      */
/*                                                                      */
/*                                     1995-98 (c) by Leonid Moiseichuk */
/* -------------------------------------------------------------------- */

#ifndef __timer_h
#define __timer_h

/* ==========================[ includes ]============================== */

//#include <dos.h>

#ifndef SAMPLER_H_USED
   #ifndef NSAMPLER
      #define NSAMPLER
   #endif

   #include "sampler.h"
#endif

/* ===========================[ defines ]============================== */

//#define TimeAsSeconds(__time)       (__CAST(double,__time) / __TicsPerSecond)
#define TimeAsMicroSeconds(__time,__Scale)  ((__CAST(double,__time) / __CAST(double,__Scale))*1e6)

#endif // Sentry __timer_h
Соседние файлы в папке Samp16