#include <time.h>
#include "mmgcommon_private.h"
#include <windows.h>
#include "mmg_core_export_private.h"
Go to the source code of this file.
◆ BIG
◆ BIG1
◆ TIMEMAX
◆ mytime
◆ chrono()
Function to measure time.
- Parameters
-
cmode | macro that allow to reset (RESET), start (ON) or stop (OFF) the chrono. |
*ptt | pointer to mytime object that store the chronograph informations. |
Definition at line 49 of file chrono.c.
◆ printim()
Print real time.
- Parameters
-
elps | elapsed time in seconds. |
stim | pointer to string containg the elapsed time at .h.m.s format. |
Definition at line 160 of file chrono.c.
◆ tminit()
Initialize mytime object.
- Parameters
-
*t | mytime object to store the chronograph infos. |
maxtim | integer sepcifying the maximum number of times stored. |
Definition at line 120 of file chrono.c.