summaryrefslogtreecommitdiff
path: root/dtime_now.h
blob: 411534bf7380a9ce158bc446eace8cc3dd59be59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18


extern double dtime_realtime (void);

extern double dtime_monotonic (void);


void timestamp_now (char *result, int result_size, int show_ms);

void timestamp_user_format (char *result, int result_size, char *user_format);

void timestamp_filename (char *result, int result_size);


// FIXME:  remove temp workaround.
// Needs many scattered updates.

#define dtime_now dtime_realtime