Searched refs:tm (Results 1 - 21 of 21) sorted by relevance

/gem5/src/dev/sparc/
H A Ddtod.cc54 struct tm tm = p->time; local
55 todTime = mkutctime(&tm);
57 DPRINTFN("Real-time clock set to %s\n", asctime(&tm));
/gem5/src/dev/
H A Dmc146818.hh114 struct tm curTime;
116 void setTime(const struct tm time);
154 MC146818(EventManager *em, const std::string &name, const struct tm time,
H A Dmc146818.cc67 MC146818::setTime(const struct tm time)
94 MC146818::MC146818(EventManager *em, const string &n, const struct tm time,
/gem5/src/base/
H A Dtime.cc89 struct tm *tm = localtime(&sec); local
90 strftime(buf, sizeof(buf), format.c_str(), tm);
155 mkutctime(struct tm *time)
H A Dtime.hh269 time_t mkutctime(struct tm *time);
/gem5/src/python/pybind11/
H A Dcore.cc218 py::class_<tm>(m_core, "tm")
220 .def_readwrite("tm_sec", &tm::tm_sec)
221 .def_readwrite("tm_min", &tm::tm_min)
222 .def_readwrite("tm_hour", &tm::tm_hour)
223 .def_readwrite("tm_mday", &tm::tm_mday)
224 .def_readwrite("tm_mon", &tm::tm_mon)
225 .def_readwrite("tm_wday", &tm::tm_wday)
226 .def_readwrite("tm_yday", &tm::tm_yday)
227 .def_readwrite("tm_isdst", &tm
[all...]
/gem5/src/cpu/pred/
H A Dmultiperspective_perceptron_tage_64KB.cc52 tm(p->tm)
55 initGEHLTable(tnb, tm, tgehl, logTnb, wt, -1);
99 tm, tgehl, tnb, logTnb, wt);
129 tm, tgehl, tnb, logTnb, wt, bi);
188 /* tm[0] is artificially increased by 11 to accomodate IMLI */
189 bits += numEntriesThirdLocalHistories * (tm[0] - 11);
H A Dmultiperspective_perceptron_tage_64KB.hh60 std::vector<int> tm; member in class:MPP_StatisticalCorrector_64KB
H A Dtage_sc_l_64KB.cc57 tm(p->tm),
64 initGEHLTable(tnb, tm, tgehl, logTnb, wt, 7);
115 branch_pc, sh->getLocalHistory(3, branch_pc), tm,
183 gUpdate(pc, taken, sh->getLocalHistory(3, pc), tm,
H A Dtage_sc_l_64KB.hh91 std::vector<int> tm; member in class:TAGE_SC_L_64KB_StatisticalCorrector
H A DBranchPredictor.py419 tm = VectorParam.Int([9, 4], "Third local history GEHL lengths") variable in class:TAGE_SC_L_64KB_StatisticalCorrector
689 tm = VectorParam.Int([22, 17, 14], "Third local history GEHL lengths") variable in class:MPP_StatisticalCorrector_64KB
/gem5/src/dev/x86/
H A Dcmos.hh61 X86RTC(EventManager *em, const std::string &n, const struct tm time,
/gem5/src/dev/arm/
H A Drv_ctrl.cc307 ThermalModel * tm = system->getThermalModel(); local
308 if (tm) {
309 double t = tm->getTemp();
/gem5/ext/systemc/src/sysc/tracing/
H A Dsc_trace_file_base.cpp256 struct tm* p_tm = localtime(&long_time);
/gem5/ext/pybind11/include/pybind11/
H A Dchrono.h110 std::tm cal;
156 std::tm localtime = *std::localtime(&tt);
/gem5/ext/ply/ply/
H A Dcpp.py152 tm = time.localtime()
153 self.define("__DATE__ \"%s\"" % time.strftime("%b %d %Y",tm))
154 self.define("__TIME__ \"%s\"" % time.strftime("%H:%M:%S",tm))
/gem5/src/systemc/utils/
H A Dvcd.cc232 struct tm *p_tm = localtime(&long_time);
/gem5/ext/googletest/googlemock/include/gmock/
H A Dgmock-matchers.h3542 // Given a 2-tuple matcher tm of type Tuple2Matcher and a value second
3543 // of type Second, BoundSecondMatcher<Tuple2Matcher, Second>(tm,
3544 // second) is a polymorphic matcher that matches a value x iff tm
3554 BoundSecondMatcher(const Tuple2Matcher& tm, const Second& second) argument
3555 : tuple2_matcher_(tm), second_value_(second) {}
3580 Impl(const Tuple2Matcher& tm, const Second& second) argument
3581 : mono_tuple2_matcher_(SafeMatcherCast<const ArgTuple&>(tm)),
3607 // Given a 2-tuple matcher tm and a value second,
3608 // MatcherBindSecond(tm, second) returns a matcher that matches a
3609 // value x iff tm matche
3612 MatcherBindSecond( const Tuple2Matcher& tm, const Second& second) argument
[all...]
/gem5/src/arch/arm/
H A Dsemihosting.cc138 timeBase([p]{ struct tm t = p->time; return mkutctime(&t); }()),
/gem5/src/python/m5/
H A Dparams.py1245 cxx_type = 'tm'
1259 from _m5.core import tm
1262 return tm.gmtime(calendar.timegm(self.value))
/gem5/ext/googletest/googletest/src/
H A Dgtest.cc3556 static bool PortableLocaltime(time_t seconds, struct tm* out) {
3561 // Windows' localtime(), which has a thread-local tm buffer.
3562 struct tm* tm_ptr = localtime(&seconds); // NOLINT
3575 struct tm time_struct;

Completed in 80 milliseconds