Rizin
unix-like reverse engineering framework and cli tools
mytime.h
Go to the documentation of this file.
1 //
5 //
6 // Author: Lasse Collin
7 //
8 // This file has been put into the public domain.
9 // You can do whatever you want with this file.
10 //
12 
13 
22 
23 
27 extern void mytime_set_start_time(void);
28 
29 
31 extern uint64_t mytime_get_elapsed(void);
32 
33 
35 extern void mytime_set_flush_time(void);
36 
37 
43 extern int mytime_get_flush_timeout(void);
uint64_t mytime_get_elapsed(void)
Get the number of milliseconds since the operation started.
Definition: mytime.c:59
uint64_t opt_flush_timeout
Number of milliseconds to between LZMA_SYNC_FLUSHes.
Definition: mytime.c:19
int mytime_get_flush_timeout(void)
Get the number of milliseconds until the next flush.
Definition: mytime.c:74
void mytime_set_start_time(void)
Store the time when (de)compression was started.
Definition: mytime.c:51
void mytime_set_flush_time(void)
Store the time of when compressor was flushed.
Definition: mytime.c:66
unsigned long uint64_t
Definition: sftypes.h:28