gem5  v20.1.0.0
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 50 of file cprintftime.cc.

References stop.

Referenced by main().

◆ handle_alarm()

void handle_alarm ( int  signal)

Definition at line 44 of file cprintftime.cc.

References stop.

Referenced by main().

◆ main()

int main ( )

Definition at line 57 of file cprintftime.cc.

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

Variable Documentation

◆ stop

volatile int stop = false

Definition at line 41 of file cprintftime.cc.

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


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