plastimatch
Loading...
Searching...
No Matches
plm_timer_p.h
Go to the documentation of this file.
1/* -----------------------------------------------------------------------
2 See COPYRIGHT.TXT and LICENSE.TXT for copyright and license information
3 ----------------------------------------------------------------------- */
4#include "plmsys_config.h"
5
6#ifdef _WIN32
7#include <windows.h>
8#else
9#include <sys/time.h>
10#endif
11
13public:
15public:
16 bool running;
17 double start_time;
18 double acc_time;
19#ifdef _WIN32
20 LARGE_INTEGER clock_freq;
21#endif
22public:
23 double get_time ();
24 double elapsed_time ();
25};
Definition plm_timer_p.h:12
Plm_timer_private()
Definition plm_timer.cxx:13
double get_time()
Definition plm_timer.cxx:24
double elapsed_time()
Definition plm_timer.cxx:40
bool running
Definition plm_timer_p.h:16
double acc_time
Definition plm_timer_p.h:18
double start_time
Definition plm_timer_p.h:17