#include "mt.h"
#include <string.h>
#include <stdlib.h>
#include <time.h>
Go to the source code of this file.
Data Structures | |
| struct | mt_tag |
| Internal representation of a MultiTimer. More... | |
Defines | |
| #define | mt_sint64 long long |
| #define | mt_uint64 unsigned mt_sint64 |
| #define | NS_PER_SEC 1000000000 |
Typedefs | |
| typedef struct mt_tag | MTimer |
| Internal representation of a MultiTimer. | |
Functions | |
| MultiTimer | MtCreate (int count) |
| Create, initialize and return a new MultiTimer. | |
| void | MtRecord (MultiTimer mt) |
| Record a timestamp within a multi-timer. | |
| unsigned long | MtGetRelativeNS (MultiTimer mt, int idx) |
| Return a specified time difference value in nanoseconds. | |
| void | MtDestroy (MultiTimer mt) |
| Destroy a multi-timer. | |
Definition in file mt.c.
| #define NS_PER_SEC 1000000000 |
Referenced by MtGetRelativeNS().
1.5.6