/* Copyright (c) 2001, Matej Pfajfar.
 * Copyright (c) 2001-2004, Roger Dingledine.
 * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
 * Copyright (c) 2007-2020, The Tor Project, Inc. */
/* See LICENSE for licensing information */

#ifndef TOR_TIME_DEFS_H
#define TOR_TIME_DEFS_H

/**
 * \file time.h
 *
 * \brief Definitions for timing-related constants.
 **/

/** How many microseconds per second */
#define TOR_USEC_PER_SEC (1000000)
/** How many nanoseconds per microsecond */
#define TOR_NSEC_PER_USEC (1000)
/** How many nanoseconds per millisecond */
#define TOR_NSEC_PER_MSEC (1000*1000)

#endif /* !defined(TOR_TIME_DEFS_H) */
