gem5  v21.2.1.1
Functions | Variables
cprintftime.cc File Reference
#include <unistd.h>
#include <csignal>
#include <iostream>
#include <list>
#include <sstream>
#include <string>
#include "base/cprintf.hh"

Go to the source code of this file.

Functions

void handle_alarm (int signal)
 
void do_test (int seconds)
 
int main ()
 

Variables

volatile int stop = false
 

Function Documentation

◆ do_test()

void do_test ( int  seconds)

Definition at line 48 of file cprintftime.cc.

References stop.

Referenced by main().

◆ handle_alarm()

void handle_alarm ( int  signal)

Definition at line 42 of file cprintftime.cc.

References stop.

Referenced by main().

◆ main()

int main ( )

Definition at line 55 of file cprintftime.cc.

References gem5::ccprintf(), gem5::cprintf(), do_test(), handle_alarm(), and stop.

Referenced by TEST().

Variable Documentation

◆ stop

volatile int stop = false

Definition at line 39 of file cprintftime.cc.

Referenced by do_test(), handle_alarm(), and main().


Generated on Wed May 4 2022 12:14:15 for gem5 by doxygen 1.8.17