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

/gem5/src/base/
H A Dtime.cc76 time_t sec = this->sec();
134 time_t secs;
135 time_t nsecs;
154 time_t
172 time_t ret = mktime(time);
H A Dtime.hh74 time_t sec() const { return _time.tv_sec; }
79 void sec(time_t sec) { _time.tv_sec = sec; }
103 void set(time_t _sec, long _nsec) { sec(_sec); nsec(_nsec); }
129 sec((time_t)seconds);
269 time_t mkutctime(struct tm *time);
/gem5/src/kern/freebsd/
H A Dfreebsd.hh58 typedef int64_t time_t; typedef in class:FreeBSD
/gem5/ext/googletest/googletest/samples/
H A Dsample5_unittest.cc75 const time_t end_time = time(NULL);
84 time_t start_time_;
/gem5/src/arch/riscv/linux/
H A Dlinux.hh120 typedef int64_t time_t; typedef in class:RiscvLinux64
132 time_t tv_sec;
291 // Newlib 3.0.0 defaults to 64-bits for time_t.
292 // Currently time_t in glibc for riscv32 is 32-bits, but will be changed.
293 typedef int64_t time_t; typedef in class:RiscvLinux32
302 time_t tv_sec;
323 time_t st_atimeX;
325 time_t st_mtimeX;
327 time_t st_ctimeX;
/gem5/src/kern/solaris/
H A Dsolaris.hh51 typedef int64_t time_t; typedef in class:Solaris
/gem5/src/kern/linux/
H A Dlinux.hh57 typedef int64_t time_t; typedef in class:Linux
135 time_t tv_sec; //!< seconds
/gem5/ext/systemc/src/sysc/tracing/
H A Dsc_trace_file_base.cpp254 time_t long_time;
/gem5/src/arch/arm/freebsd/
H A Dfreebsd.hh53 typedef int32_t time_t; typedef in class:ArmFreebsd32
210 typedef int64_t time_t; typedef in class:ArmFreebsd64
/gem5/src/arch/power/linux/
H A Dlinux.hh45 typedef int32_t time_t; typedef in class:PowerLinux
/gem5/src/arch/arm/linux/
H A Dlinux.hh120 typedef int32_t time_t; typedef in class:ArmLinux32
341 typedef int64_t time_t; typedef in class:ArmLinux64
/gem5/ext/libelf/
H A Dlibelf.h133 time_t ar_date;
/gem5/src/dev/
H A Dmc146818.cc263 time_t calTime = mkutctime(&curTime);
/gem5/src/sim/
H A Dserialize.cc198 time_t t = time(NULL);
H A Dsyscall_emul.hh2305 typename OS::time_t sec, usec;
2313 typename OS::time_t t = sec;
2316 p.writeBlob(taddr, &t, (int)sizeof(typename OS::time_t));
/gem5/src/arch/arm/
H A Dsemihosting.hh92 const time_t timeBase;
/gem5/src/python/pybind11/
H A Dcore.cc219 .def_static("gmtime", [](std::time_t t) { return *std::gmtime(&t); })
/gem5/ext/pybind11/include/pybind11/
H A Dchrono.h153 std::time_t tt = system_clock::to_time_t(time_point_cast<system_clock::duration>(src));
/gem5/src/systemc/utils/
H A Dvcd.cc230 time_t long_time;
/gem5/ext/googletest/googletest/test/
H A Dgtest_unittest.cc4699 // Tests using time_t values in {EXPECT|ASSERT}_EQ.
4701 EXPECT_EQ(static_cast<time_t>(0),
4702 static_cast<time_t>(0));
4703 EXPECT_FATAL_FAILURE(ASSERT_EQ(static_cast<time_t>(0),
4704 static_cast<time_t>(1234)),
/gem5/ext/googletest/googletest/src/
H A Dgtest.cc3556 static bool PortableLocaltime(time_t seconds, struct tm* out) {
3576 if (!PortableLocaltime(static_cast<time_t>(ms / 1000), &time_struct))

Completed in 93 milliseconds