Deleted Added
full compact
test_speed.c (263019) test_speed.c (268896)
1/* Copyright (c) 2013, Vsevolod Stakhov
2 * All rights reserved.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are met:
6 * * Redistributions of source code must retain the above copyright
7 * notice, this list of conditions and the following disclaimer.
8 * * Redistributions in binary form must reproduce the above copyright

--- 18 unchanged lines hidden (view full) ---

27#include <sys/time.h>
28#include <stdio.h>
29#include <errno.h>
30#include <unistd.h>
31#include <fcntl.h>
32#include <time.h>
33
34#ifdef __APPLE__
1/* Copyright (c) 2013, Vsevolod Stakhov
2 * All rights reserved.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are met:
6 * * Redistributions of source code must retain the above copyright
7 * notice, this list of conditions and the following disclaimer.
8 * * Redistributions in binary form must reproduce the above copyright

--- 18 unchanged lines hidden (view full) ---

27#include <sys/time.h>
28#include <stdio.h>
29#include <errno.h>
30#include <unistd.h>
31#include <fcntl.h>
32#include <time.h>
33
34#ifdef __APPLE__
35#ifdef HAVE_MACH_MACH_TIME_H
35#include <mach/mach_time.h>
36#endif
36#include <mach/mach_time.h>
37#endif
38#endif
37
38#include "ucl.h"
39
40static double
41get_ticks (void)
42{
43 double res;
44

--- 105 unchanged lines hidden ---
39
40#include "ucl.h"
41
42static double
43get_ticks (void)
44{
45 double res;
46

--- 105 unchanged lines hidden ---