1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-07-29 13:01:13 +03:00

Export and document timestamp functions

This commit is contained in:
Aris Adamantiadis
2010-12-28 22:11:02 +01:00
parent 361e37dc66
commit 31043334f4
2 changed files with 27 additions and 7 deletions

View File

@ -25,7 +25,15 @@
#include <libssh/libssh.h>
/* latency.c */
struct timestamp_struct {
struct timeval timestamp;
};
int benchmarks_ping_latency (const char *host, float *average);
int benchmarks_ssh_latency (ssh_session session, float *average);
void timestamp_init(struct timestamp_struct *ts);
float elapsed_time(struct timestamp_struct *ts);
#endif /* BENCHMARKS_H_ */