diff options
Diffstat (limited to 'src/lib/netlist/netlist_types.h')
-rw-r--r-- | src/lib/netlist/netlist_types.h | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/src/lib/netlist/netlist_types.h b/src/lib/netlist/netlist_types.h deleted file mode 100644 index 0bd32be21be..00000000000 --- a/src/lib/netlist/netlist_types.h +++ /dev/null @@ -1,54 +0,0 @@ -// license:GPL-2.0+ -// copyright-holders:Couriersud -/*! - * - * \file netlist_types.h - * - */ - -#ifndef NETLIST_TYPES_H_ -#define NETLIST_TYPES_H_ - -#include "nl_config.h" -#include "plib/pchrono.h" -#include "plib/pstring.h" - -#include <cstdint> -#include <unordered_map> - -namespace netlist -{ - //============================================================ - // Performance tracking - //============================================================ - -#if NL_KEEP_STATISTICS - using nperftime_t = plib::chrono::timer<plib::chrono::exact_ticks, true>; - using nperfcount_t = plib::chrono::counter<true>; -#else - using nperftime_t = plib::chrono::timer<plib::chrono::exact_ticks, false>; - using nperfcount_t = plib::chrono::counter<false>; -#endif - - //============================================================ - // Types needed by various includes - //============================================================ - - namespace detail { - - /*! Enum specifying the type of object */ - enum terminal_type { - TERMINAL = 0, /*!< object is an analog terminal */ - INPUT = 1, /*!< object is an input */ - OUTPUT = 2, /*!< object is an output */ - }; - - /*! Type of the model map used. - * This is used to hold all #Models in an unordered map - */ - using model_map_t = std::unordered_map<pstring, pstring>; - - } -} - -#endif /* NETLIST_TYPES_H_ */ |