Wireshark
2.9.0-477-g68ec514b
The Wireshark network protocol analyzer
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
wsutil
time_util.h
1
/* time_util.h
2
*
3
* Wireshark - Network traffic analyzer
4
* By Gerald Combs <gerald@wireshark.org>
5
* Copyright 1998 Gerald Combs
6
*
7
* SPDX-License-Identifier: GPL-2.0-or-later
8
*/
9
10
#ifndef __TIME_UTIL_H__
11
#define __TIME_UTIL_H__
12
13
#include "ws_symbol_export.h"
14
15
#ifdef __cplusplus
16
extern
"C"
{
17
#endif
/* __cplusplus */
18
19
#include <time.h>
20
21
WS_DLL_PUBLIC
22
time_t mktime_utc(
struct
tm *tm);
23
32
WS_DLL_PUBLIC
33
void
get_resource_usage(
double
*user_time,
double
*sys_time);
34
45
WS_DLL_PUBLIC
46
void
log_resource_usage(gboolean reset_delta,
const
char
*format, ...);
47
51
WS_DLL_PUBLIC
52
guint64 create_timestamp(
void
);
53
54
#ifdef __cplusplus
55
}
56
#endif
/* __cplusplus */
57
58
#endif
/* __TIME_UTIL_H__ */
Generated by
1.8.11