Parolin 0.7.9 6796
Console (soon DLLs) to do a tar like job
Loading...
Searching...
No Matches
mytime.h
Go to the documentation of this file.
1// SPDX-License-Identifier: 0BSD
2
4//
7//
8// Author: Lasse Collin
9//
11
12
20extern uint64_t opt_flush_timeout;
21
22
23#ifdef USE_SIGTSTP_HANDLER
25extern void mytime_sigtstp_handler(int sig);
26#endif
27
28
32extern void mytime_set_start_time(void);
33
34
36extern uint64_t mytime_get_elapsed(void);
37
38
40extern void mytime_set_flush_time(void);
41
42
48extern 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