gem5 v24.0.0.0
|
Defines global host-dependent types: Counter, Tick, and (indirectly) {int,uint}{8,16,32,64}_t. More...
#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 | |
namespace | gem5 |
Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved. | |
Typedefs | |
typedef int64_t | gem5::Counter |
Statistics counter type. | |
typedef uint64_t | gem5::Tick |
Tick count type. | |
typedef uint64_t | gem5::Addr |
Address type This will probably be moved somewhere else in the near future. | |
typedef uint16_t | gem5::MicroPC |
using | gem5::RegVal = uint64_t |
using | gem5::RegIndex = uint16_t |
typedef int16_t | gem5::ThreadID |
Thread index/ID type. | |
typedef int | gem5::ContextID |
Globally unique thread context ID. | |
typedef int16_t | gem5::PortID |
Port index/ID type, and a symbolic name for an invalid port id. | |
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 |
const ThreadID | gem5::InvalidThreadID = (ThreadID)-1 |
const ContextID | gem5::InvalidContextID = (ContextID)-1 |
const PortID | gem5::InvalidPortID = (PortID)-1 |
constexpr decltype(nullptr) | gem5::NoFault = nullptr |
Defines global host-dependent types: Counter, Tick, and (indirectly) {int,uint}{8,16,32,64}_t.
Definition in file types.hh.