Searched refs:std (Results 176 - 200 of 1914) sorted by relevance

1234567891011>>

/gem5/src/base/
H A Drandom.cc79 std::ostringstream oss;
81 std::string state = oss.str();
93 std::string state;
95 std::istringstream iss(state);
H A Dcoroutine.test.cc89 const std::vector<int> input{ 1, 2, 3 };
90 const std::vector<int> expected_values = input;
119 const std::vector<int> output{ 1, 2, 3 };
120 const std::vector<int> expected_values = output;
148 const std::vector<int> expected_values{
189 const std::string caller_str("HloWrd");
190 const std::string coro_str("el ol!");
191 const std::string expected("Hello World!");
194 [&coro_str] (Coroutine<std::string, std
[all...]
/gem5/src/kern/
H A Doperatingsystem.cc37 OperatingSystem::openSpecialFile(std::string path, Process *process,
/gem5/src/systemc/ext/utils/
H A Dsc_exception.hh38 typedef std::exception sc_exception;
/gem5/src/systemc/tests/include/
H A DSimpleLTInitiator1.h100 std::cout << name() << ": Send write request: A = 0x"
101 << std::hex << (unsigned int)trans.get_address()
102 << ", D = 0x" << mData << std::dec
103 << " @ " << sc_core::sc_time_stamp() << std::endl;
106 std::cout << name() << ": Send read request: A = 0x"
107 << std::hex << (unsigned int)trans.get_address() << std::dec
108 << " @ " << sc_core::sc_time_stamp() << std::endl;
115 std::cout << name() << ": Received error response @ "
116 << sc_core::sc_time_stamp() << std
[all...]
H A DSimpleLTInitiator2.h96 std::cout << name() << ": Send write request: A = 0x"
97 << std::hex << (unsigned int)trans.get_address()
98 << ", D = 0x" << mData << std::dec
99 << " @ " << sc_core::sc_time_stamp() << std::endl;
102 std::cout << name() << ": Send read request: A = 0x"
103 << std::hex << (unsigned int)trans.get_address() << std::dec
104 << " @ " << sc_core::sc_time_stamp() << std::endl;
111 std::cout << name() << ": Received error response @ "
112 << sc_core::sc_time_stamp() << std
[all...]
H A DSimpleLTInitiator3.h96 std::cout << name() << ": Send write request: A = 0x"
97 << std::hex << (unsigned int)trans.get_address()
98 << ", D = 0x" << mData << std::dec
99 << " @ " << sc_core::sc_time_stamp() << std::endl;
102 std::cout << name() << ": Send read request: A = 0x"
103 << std::hex << (unsigned int)trans.get_address() << std::dec
104 << " @ " << sc_core::sc_time_stamp() << std::endl;
111 std::cout << name() << ": Received error response @ "
112 << sc_core::sc_time_stamp() << std
[all...]
/gem5/src/arch/riscv/
H A Dutility.cc40 static Fault reset = std::make_shared<Reset>();
/gem5/src/gpu-compute/
H A Dglobal_memory_pipeline.hh66 std::queue<GPUDynInstPtr> &getGMStRespFIFO() { return gmReturnedStores; }
67 std::queue<GPUDynInstPtr> &getGMLdRespFIFO() { return gmReturnedLoads; }
118 const std::string &name() const { return _name; }
129 std::string _name;
160 std::map<uint64_t, std::pair<GPUDynInstPtr, bool>> gmOrderedRespBuffer;
164 std::queue<GPUDynInstPtr> gmIssuedRequests;
168 std::queue<GPUDynInstPtr> gmReturnedStores;
172 std::queue<GPUDynInstPtr> gmReturnedLoads;
/gem5/src/mem/cache/replacement_policies/
H A Drandom_rp.hh82 void invalidate(const std::shared_ptr<ReplacementData>& replacement_data)
91 void touch(const std::shared_ptr<ReplacementData>& replacement_data) const
100 void reset(const std::shared_ptr<ReplacementData>& replacement_data) const
117 std::shared_ptr<ReplacementData> instantiateEntry() override;
H A Dfifo_rp.hh81 void invalidate(const std::shared_ptr<ReplacementData>& replacement_data)
90 void touch(const std::shared_ptr<ReplacementData>& replacement_data) const
99 void reset(const std::shared_ptr<ReplacementData>& replacement_data) const
116 std::shared_ptr<ReplacementData> instantiateEntry() override;
H A Dlfu_rp.hh81 void invalidate(const std::shared_ptr<ReplacementData>& replacement_data)
90 void touch(const std::shared_ptr<ReplacementData>& replacement_data) const
99 void reset(const std::shared_ptr<ReplacementData>& replacement_data) const
116 std::shared_ptr<ReplacementData> instantiateEntry() override;
H A Dlru_rp.hh79 void invalidate(const std::shared_ptr<ReplacementData>& replacement_data)
88 void touch(const std::shared_ptr<ReplacementData>& replacement_data) const
97 void reset(const std::shared_ptr<ReplacementData>& replacement_data) const
114 std::shared_ptr<ReplacementData> instantiateEntry() override;
H A Dmru_rp.hh81 void invalidate(const std::shared_ptr<ReplacementData>& replacement_data)
90 void touch(const std::shared_ptr<ReplacementData>& replacement_data) const
99 void reset(const std::shared_ptr<ReplacementData>& replacement_data) const
116 std::shared_ptr<ReplacementData> instantiateEntry() override;
H A Dbrrip_rp.hh130 void invalidate(const std::shared_ptr<ReplacementData>& replacement_data)
138 void touch(const std::shared_ptr<ReplacementData>& replacement_data) const
147 void reset(const std::shared_ptr<ReplacementData>& replacement_data) const
164 std::shared_ptr<ReplacementData> instantiateEntry() override;
/gem5/src/sim/
H A Dsim_events.hh58 std::string cause;
63 GlobalSimLoopExitEvent(Tick when, const std::string &_cause, int c,
65 GlobalSimLoopExitEvent(const std::string &_cause, int c, Tick repeat = 0);
67 const std::string getCause() const { return cause; }
79 std::string cause;
85 LocalSimLoopExitEvent(const std::string &_cause, int c, Tick repeat = 0);
87 const std::string getCause() const { return cause; }
106 std::string cause; // string explaining why we're terminating
110 CountedExitEvent(const std::string &_cause, int &_downCounter);
H A Dprocess_impl.hh43 copyStringArray(std::vector<std::string> &strings,
48 for (std::vector<std::string>::size_type i = 0; i < strings.size(); ++i) {
/gem5/src/mem/cache/compressors/
H A Dbdi.hh90 const std::size_t qwordsPerCacheLine;
134 std::unique_ptr<BDICompData> tryCompress(const uint64_t* data,
145 std::unique_ptr<BaseCacheCompressor::CompressionData> compress(
194 static const std::size_t encodingBits = 4;
240 std::string getName() const;
313 const std::size_t blkSize;
318 const std::vector<uint64_t> _data;
334 const std::size_t blk_size);
360 const std::size_t maxNumBases;
365 std
[all...]
/gem5/src/mem/cache/prefetch/
H A Dpif.hh77 std::vector<bool> prec;
78 std::vector<bool> succ;
110 std::vector<AddrPriority> &addresses) const;
124 std::deque<CompactorEntry> temporalCompactor;
130 std::vector<CompactorEntry> historyBuffer;
149 std::deque<CompactorEntry*> streamAddressBuffer;
164 const std::string &name)
173 std::vector<PrefetchListenerPC *> listenersPC;
181 std::vector<AddrPriority> &addresses);
/gem5/src/mem/ruby/network/
H A DNetwork.hh94 std::string vnet_type, MessageBuffer *b);
96 std::string vnet_type, MessageBuffer *b);
99 int network_num, std::string vnet_type);
111 virtual void print(std::ostream& out) const = 0;
138 getPort(const std::string &, PortID idx=InvalidPortID) override
150 std::vector<std::string> m_vnet_type_names;
156 std::vector<std::vector<MessageBuffer*> > m_toNetQueues;
157 std
[all...]
/gem5/src/mem/ruby/structures/
H A DPersistentTable.hh44 void print(std::ostream& out) const {}
72 void print(std::ostream& out) const;
80 typedef std::unordered_map<Addr, PersistentTableEntry> AddressMap;
84 inline std::ostream&
85 operator<<(std::ostream& out, const PersistentTable& obj)
88 out << std::flush;
92 inline std::ostream&
93 operator<<(std::ostream& out, const PersistentTableEntry& obj)
96 out << std::flush;
/gem5/src/systemc/utils/
H A Dvcd.cc58 std::string
59 cleanName(std::string name)
75 std::string _vcdName;
117 printVal(std::ostream &os, const std::string &rep)
123 os << rep << vcdName() << std::endl;;
127 vcdName() << std::endl;
136 void vcdName(const std::string &vcd_name) { _vcdName = vcd_name; }
137 const std::string &vcdName() { return _vcdName; }
138 virtual std
[all...]
/gem5/ext/systemc/src/sysc/datatypes/fx/
H A Dsc_fxnum.cpp84 sc_fxnum_bitref::print( ::std::ostream& os ) const
90 sc_fxnum_bitref::scan( ::std::istream& is )
98 sc_fxnum_bitref::dump( ::std::ostream& os ) const
100 os << "sc_fxnum_bitref" << ::std::endl;
101 os << "(" << ::std::endl;
104 os << "idx = " << m_idx << ::std::endl;
105 os << ")" << ::std::endl;
131 sc_fxnum_fast_bitref::print( ::std::ostream& os ) const
137 sc_fxnum_fast_bitref::scan( ::std::istream& is )
145 sc_fxnum_fast_bitref::dump( ::std
[all...]
/gem5/src/systemc/dt/fx/
H A Dsc_fxnum.cc72 void sc_fxnum_bitref::print(::std::ostream &os) const { os << get(); }
75 sc_fxnum_bitref::scan(::std::istream &is)
83 sc_fxnum_bitref::dump(::std::ostream &os) const
85 os << "sc_fxnum_bitref" << ::std::endl;
86 os << "(" << ::std::endl;
89 os << "idx = " << m_idx << ::std::endl;
90 os << ")" << ::std::endl;
104 void sc_fxnum_fast_bitref::print(::std::ostream &os) const { os << get(); }
107 sc_fxnum_fast_bitref::scan(::std::istream &is)
115 sc_fxnum_fast_bitref::dump(::std
[all...]
/gem5/ext/iostream3/
H A Dzfstream.cc22 : file(NULL), io_mode(std::ios_base::openmode(0)), own_fd(false),
52 std::ios_base::openmode mode)
58 if ((mode & std::ios_base::in) && (mode & std::ios_base::out))
80 std::ios_base::openmode mode)
86 if ((mode & std::ios_base::in) && (mode & std::ios_base::out))
131 gzfilebuf::open_mode(std::ios_base::openmode mode,
134 bool testb = mode & std::ios_base::binary;
135 bool testi = mode & std
[all...]

Completed in 28 milliseconds

1234567891011>>