1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-26 18:08:20 +00:00
hashcat/include/timer.h

20 lines
358 B
C
Raw Normal View History

/**
* Author......: See docs/credits.txt
* License.....: MIT
*/
#ifndef _TIMER_H
#define _TIMER_H
#if defined(__APPLE__) && defined(MISSING_CLOCK_GETTIME)
2017-12-26 12:49:17 +00:00
#include <sys/time.h>
#include <mach/clock.h>
#include <mach/mach.h>
#include <mach/mach_time.h>
#endif
2016-10-01 10:55:39 +00:00
void hc_timer_set (hc_timer_t *a);
double hc_timer_get (hc_timer_t a);
#endif // _TIMER_H