gem5  v21.1.0.2
Classes | Namespaces | Typedefs | Functions | Variables
types.hh File Reference
#include <inttypes.h>
#include <cassert>
#include <limits>
#include <memory>
#include <ostream>
#include <stdexcept>

Go to the source code of this file.

Classes

class  gem5::Cycles
 Cycles is a wrapper class for representing cycle counts, i.e. More...
 

Namespaces

 gem5
 Reference material can be found at the JEDEC website: UFS standard http://www.jedec.org/standards-documents/results/jesd220 UFS HCI specification http://www.jedec.org/standards-documents/results/jesd223.
 

Typedefs

typedef int64_t gem5::Counter
 Statistics counter type. More...
 
typedef uint64_t gem5::Tick
 Tick count type. More...
 
typedef uint64_t gem5::Addr
 Address type This will probably be moved somewhere else in the near future. More...
 
typedef uint16_t gem5::MicroPC
 
using gem5::RegVal = uint64_t
 
using gem5::RegIndex = uint16_t
 
using gem5::ElemIndex = uint16_t
 Logical vector register elem index type. More...
 
typedef int16_t gem5::ThreadID
 Thread index/ID type. More...
 
typedef int gem5::ContextID
 Globally unique thread context ID. More...
 
typedef int16_t gem5::PortID
 Port index/ID type, and a symbolic name for an invalid port id. More...
 
typedef std::shared_ptr< FaultBase > gem5::Fault
 

Functions

static MicroPC gem5::romMicroPC (MicroPC upc)
 
static MicroPC gem5::normalMicroPC (MicroPC upc)
 
static bool gem5::isRomMicroPC (MicroPC upc)
 
static uint32_t gem5::floatToBits32 (float val)
 
static uint64_t gem5::floatToBits64 (double val)
 
static uint64_t gem5::floatToBits (double val)
 
static uint32_t gem5::floatToBits (float val)
 
static float gem5::bitsToFloat32 (uint32_t val)
 
static double gem5::bitsToFloat64 (uint64_t val)
 
static double gem5::bitsToFloat (uint64_t val)
 
static float gem5::bitsToFloat (uint32_t val)
 

Variables

const Tick gem5::MaxTick = 0xffffffffffffffffULL
 
static const MicroPC gem5::MicroPCRomBit = 1 << (sizeof(MicroPC) * 8 - 1)
 
const Addr gem5::MaxAddr = (Addr)-1
 
static const ElemIndex gem5::IllegalElemIndex
 ElemIndex value that indicates that the register is not a vector. More...
 
const ThreadID gem5::InvalidThreadID = (ThreadID)-1
 
const ContextID gem5::InvalidContextID = (ContextID)-1
 
const PortID gem5::InvalidPortID = (PortID)-1
 
constexpr decltype(nullptr) gem5::NoFault = nullptr
 

Detailed Description

Defines global host-dependent types: Counter, Tick, and (indirectly) {int,uint}{8,16,32,64}_t.

Definition in file types.hh.


Generated on Tue Sep 21 2021 12:26:22 for gem5 by doxygen 1.8.17