gem5  v20.1.0.0
Functions
time.cc File Reference
#include "base/time.hh"
#include <cstdlib>
#include <ctime>
#include <iostream>
#include <sstream>
#include "base/logging.hh"
#include "config/use_posix_clock.hh"
#include "sim/core.hh"
#include "sim/serialize.hh"

Go to the source code of this file.

Functions

void sleep (const Time &time)
 
time_t mkutctime (struct tm *time)
 

Function Documentation

◆ mkutctime()

time_t mkutctime ( struct tm *  time)

Definition at line 153 of file time.cc.

References fatal, and ArmISA::tz.

Referenced by ArmSemihosting::ArmSemihosting(), DumbTOD::DumbTOD(), and MC146818::tickClock().

◆ sleep()

void sleep ( const Time time)

Definition at line 141 of file time.cc.

References ArmISA::ts.

Referenced by Root::timeSync().


Generated on Wed Sep 30 2020 14:02:18 for gem5 by doxygen 1.8.17