/gem5/src/mem/cache/compressors/ |
H A D | base.cc | 58 BaseCacheCompressor::CompressionData::setSizeBits(std::size_t size) 63 std::size_t 69 std::size_t 82 Cycles& decomp_lat, std::size_t& comp_size_bits) 141 BaseCacheCompressor::setSizeBits(CacheBlk* blk, const std::size_t size_bits)
|
H A D | bdi.cc | 87 std::size_t size = encodingBits; 112 std::size_t size = encodingBits; 121 const uint64_t* data, const std::size_t blk_size) 139 std::size_t size = encodingBits; 149 const std::size_t blk_size, const std::size_t max_num_bases) 166 std::size_t size = encodingBits; 201 BDI::BDICompDataBaseDelta<TB, TD>::addDelta(const std::size_t base_index, 213 const std::size_t blk_size) 216 for (std::size_t byte_star [all...] |
/gem5/src/dev/virtio/ |
H A D | block.cc | 72 size_t off_data, size_t size) 98 size_t off_data, size_t size) 139 const size_t data_size(desc->chainSize()
|
H A D | base.hh | 203 void read(size_t offset, uint8_t *dst, size_t size) const; 218 void write(size_t offset, const uint8_t *src, size_t size); 231 size_t size() const { return desc.len; } 265 void chainRead(size_t offset, uint8_t *dst, size_t size) const; 278 void chainWrite(size_t offset, const uint8_t *src, size_t size); 287 size_t chainSiz [all...] |
/gem5/ext/drampower/src/ |
H A D | CommandAnalysis.cc | 69 numberofactsBanks.assign(static_cast<size_t>(nBanks), 0); 70 numberofpresBanks.assign(static_cast<size_t>(nBanks), 0); 71 numberofreadsBanks.assign(static_cast<size_t>(nBanks), 0); 72 numberofwritesBanks.assign(static_cast<size_t>(nBanks), 0); 73 actcyclesBanks.assign(static_cast<size_t>(nBanks), 0); 74 numberofrefbBanks.assign(static_cast<size_t>(nBanks), 0); 76 first_act_cycle_banks.resize(static_cast<size_t>(nBanks), 0); 81 bank_state.resize(static_cast<size_t>(nBanks), BANK_PRECHARGED); 82 last_bank_state.resize(static_cast<size_t>(nBanks), BANK_PRECHARGED); 87 activation_cycle.resize(static_cast<size_t>(nBank [all...] |
/gem5/src/base/ |
H A D | remote_gdb.hh | 88 virtual size_t size() const = 0; 217 bool read(Addr addr, size_t size, char *data); 218 bool write(Addr addr, size_t size, const char *data); 236 void insertSoftBreak(Addr addr, size_t len); 237 void removeSoftBreak(Addr addr, size_t len); 238 void insertHardBreak(Addr addr, size_t len); 239 void removeHardBreak(Addr addr, size_t len); 294 std::string &encoded, size_t offset, size_t unencoded_length) const; 297 virtual bool checkBpLen(size_t le [all...] |
H A D | crc.hh | 59 crc32(const uint8_t* data, uint32_t crc, std::size_t size)
|
/gem5/src/sim/ |
H A D | futex_map.hh | 70 size_t operator()(const FutexKey& in) const 72 size_t hash = 65521; 73 for (int i = 0; i < sizeof(uint64_t) / sizeof(size_t); i++) { 74 hash ^= (size_t)(in.addr >> sizeof(size_t) * i) ^ 75 (size_t)(in.tgid >> sizeof(size_t) * i);
|
/gem5/src/arch/generic/ |
H A D | vec_reg.hh | 159 template <size_t Sz> 173 template <typename VecElem, size_t NumElems, bool Const> 177 static constexpr size_t SIZE = sizeof(VecElem) * NumElems; 207 const VecElem& operator[](size_t idx) const 215 operator[](size_t idx) 223 template<typename VE2, size_t NE2, bool C2> 232 template<typename VE2, size_t NE2, bool C2> 271 template <size_t Sz> 279 static constexpr size_t SIZE = Sz; 347 template<size_t S [all...] |
/gem5/ext/pybind11/tests/ |
H A D | test_sequences_and_iterators.cpp | 66 checks.append(static_cast<std::size_t>(x.end() - x.begin()) == x.size()); 97 Sequence(size_t size) : m_size(size) { 145 for (size_t i = 0; i < m_size; ++i) 152 float operator[](size_t index) const { return m_data[index]; } 153 float &operator[](size_t index) { return m_data[index]; } 156 for (size_t i = 0; i < m_size; ++i) 164 for (size_t i = 0; i < m_size; ++i) 169 size_t size() const { return m_size; } 175 size_t m_size; 179 .def(py::init<size_t>()) [all...] |
H A D | test_buffers.cpp | 19 m_data = new float[(size_t) (rows*cols)]; 20 memset(m_data, 0, sizeof(float) * (size_t) (rows * cols)); 25 m_data = new float[(size_t) (m_rows * m_cols)]; 26 memcpy(m_data, s.m_data, sizeof(float) * (size_t) (m_rows * m_cols)); 46 m_data = new float[(size_t) (m_rows * m_cols)]; 47 memcpy(m_data, s.m_data, sizeof(float) * (size_t) (m_rows * m_cols)); 62 return m_data[(size_t) (i*m_cols + j)]; 66 return m_data[(size_t) (i*m_cols + j)]; 87 memcpy(v->data(), info.ptr, sizeof(float) * (size_t) (v->rows() * v->cols())); 110 { sizeof(float) * size_t( [all...] |
/gem5/ext/dsent/libutil/ |
H A D | String.cc | 61 String::String(const char* str_, size_t n_) 69 String::String(size_t n_, char c_) 115 size_t str1Size = str1_.size(); 116 size_t str2Size = str2_.size(); 118 size_t pos; 138 size_t currPos, nextPos; 174 size_t currPos, nextPos; 197 size_t currPos, nextPos; 202 size_t tempPos = find(delimiters_[i], currPos); 226 size_t tempPo [all...] |
/gem5/src/dev/ |
H A D | dma_device.hh | 332 DmaReadFifo(DmaPort &port, size_t size, 363 bool tryGet(uint8_t *dst, size_t len); 378 void get(uint8_t *dst, size_t len); 388 size_t size() const { return buffer.size(); } 408 void startFill(Addr start, size_t size); 469 const size_t fifoSize; 479 DmaDoneEvent(DmaReadFifo *_parent, size_t max_size); 484 void reset(size_t size); 488 size_t requestSize() const { return _requestSize; } 496 size_t _requestSiz [all...] |
/gem5/ext/libelf/ |
H A D | libelf_ar.c | 77 _libelf_ar_get_number(char *s, size_t sz, int base, size_t *ret) 80 size_t r; 114 _libelf_ar_get_string(const char *buf, size_t bufsize, int rawname) 118 size_t sz; 163 _libelf_ar_get_name(char *buf, size_t bufsize, Elf *e) 166 size_t len; 167 size_t offset; 219 size_t n; 285 size_t s [all...] |
H A D | elf_getident.c | 35 elf_getident(Elf *e, size_t *sz)
|
H A D | libelf_ehdr.c | 45 size_t fsz; 46 void (*xlator)(char *_d, char *_s, size_t _c, int _swap); 59 if ((scn = _libelf_allocate_scn(e, (size_t) 0)) == NULL) 63 (*xlator)((char *) &scn->s_shdr, e->e_rawfile + shoff, (size_t) 1, 102 size_t fsz, msz; 105 void (*xlator)(char *_d, char *_s, size_t _c, int _swap); 135 fsz = _libelf_fsize(ELF_T_EHDR, ec, e->e_version, (size_t) 1); 147 if ((ehdr = calloc((size_t) 1, msz)) == NULL) { 167 (*xlator)(ehdr, e->e_rawfile, (size_t) 1,
|
/gem5/ext/systemc/src/sysc/utils/ |
H A D | sc_mempool.cpp | 203 void* do_allocate(std::size_t); 204 void do_release(void*, std::size_t); 248 sc_mempool_int::do_allocate(std::size_t sz) 256 sc_mempool_int::do_release(void* p, std::size_t sz) 273 sc_mempool::allocate(std::size_t sz) 295 sc_mempool::release(void* p, std::size_t sz)
|
/gem5/src/kern/freebsd/ |
H A D | freebsd.hh | 56 typedef uint64_t size_t; typedef in class:FreeBSD
|
/gem5/ext/systemc/src/sysc/datatypes/fx/ |
H A D | scfx_mant.h | 86 explicit scfx_mant( std::size_t ); 109 static word* alloc( std::size_t ); 110 static void free( word*, std::size_t ); 112 static word* alloc_word( std::size_t size ); 113 static void free_word( word* array, std::size_t size ); 130 scfx_mant::alloc( std::size_t size ) 141 scfx_mant::free( word* mant, std::size_t size ) 175 scfx_mant::scfx_mant( std::size_t size ) 409 void* operator new( std::size_t sz ) { return ::operator new( sz ); }
|
/gem5/src/systemc/ext/dt/fx/ |
H A D | scfx_mant.hh | 81 explicit scfx_mant(std::size_t); 103 static word *alloc(std::size_t); 104 static void free(word *, std::size_t); 106 static word *alloc_word(std::size_t size); 107 static void free_word(word *array, std::size_t size); 116 scfx_mant::alloc(std::size_t size) 126 scfx_mant::free(word *mant, std::size_t size) 157 inline scfx_mant::scfx_mant(std::size_t size_) : m_array(0), m_size(size_) 349 void *operator new(std::size_t sz) { return ::operator new (sz); }
|
/gem5/src/systemc/tests/systemc/utils/sc_vector/test01/ |
H A D | test01.cpp | 76 for (size_t i=0; i<children.size(); ++i )
|
/gem5/src/arch/arm/kvm/ |
H A D | gic.hh | 217 Addr daddr, size_t size); 219 Addr daddr, size_t size); 221 Addr daddr, size_t size); 223 Addr daddr, size_t size);
|
/gem5/ext/googletest/googletest/samples/ |
H A D | sample2.h | 76 size_t Length() const {
|
/gem5/src/mem/cache/tags/ |
H A D | compressed_tags.hh | 111 const std::size_t compressed_size,
|
/gem5/src/cpu/ |
H A D | reg_class.hh | 85 static constexpr size_t Scale = TheISA::NumVecElemPerVecReg; 359 size_t operator()(const RegId& reg_id) const 362 const size_t flat_index = static_cast<size_t>(reg_id.flatIndex()); 363 const size_t class_num = static_cast<size_t>(reg_id.regClass); 365 const size_t shifted_class_num = class_num << (sizeof(RegIndex) << 3); 369 const size_t concatenated_hash = flat_index | shifted_class_num; 371 // If RegIndex is larger than size_t, then class_num will not be 374 static_assert(sizeof(RegIndex) < sizeof(size_t), [all...] |