tor_multipath_voip/src/test.c

19 lines
415 B
C
Raw Normal View History

2019-09-16 13:06:57 +00:00
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>
#include "proxy.h"
2020-02-27 15:41:52 +00:00
#include "stopwatch.h"
#include <unistd.h>
2019-09-16 13:06:57 +00:00
int main(int argc, char** argv) {
setvbuf(stdout, NULL, _IONBF, 0);
2019-09-19 09:56:47 +00:00
printf("~ test ~\n");
2019-09-16 13:06:57 +00:00
2021-01-05 09:56:54 +00:00
timing_fx_init (static_tfx (), TIMING_ACTIVATED|TIMING_DISPLAY_END, "", "info=%s");
timing_fx_start (static_tfx());
2020-02-27 15:41:52 +00:00
sleep(1);
2021-01-05 09:56:54 +00:00
timing_fx_stop(static_tfx(), "sleep(1)");
2020-02-27 15:41:52 +00:00
2019-09-16 13:06:57 +00:00
}