gem5 v24.0.0.0
Loading...
Searching...
No Matches
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.

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 Tue Jun 18 2024 16:24:08 for gem5 by doxygen 1.11.0