blob: 133b7eb68e92df7726949ce73aa7d4cf77eb303c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#ifndef MISC_H
#define MISC_H
#include <stdint.h>
#include <stdlib.h>
/*
Returns the current time as milliseconds. The return value can only be
compared to another return value of the function.
*/
int64_t GetCurrentTime();
/*
Simple hexdump to stdout.
*/
void DumpHex(const void* data, size_t size);
#endif
|