gem5 v24.0.0.0
Loading...
Searching...
No Matches
timer.cc File Reference
#include "cpu/kvm/timer.hh"
#include <sys/syscall.h>
#include <unistd.h>
#include <algorithm>
#include <csignal>
#include <ctime>
#include "base/logging.hh"
#include "base/trace.hh"
#include "debug/KvmTimer.hh"

Go to the source code of this file.

Namespaces

namespace  gem5
 Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.
 

Macros

#define sigev_notify_thread_id   _sigev_un._tid
 

Functions

static pid_t gem5::sysGettid ()
 

Variables

static const uint64_t gem5::MIN_HOST_CYCLES = 1000
 Minimum number of cycles that a host can spend in a KVM call (used to calculate the resolution of some timers).
 

Macro Definition Documentation

◆ sigev_notify_thread_id

#define sigev_notify_thread_id   _sigev_un._tid

Definition at line 58 of file timer.cc.


Generated on Tue Jun 18 2024 16:24:08 for gem5 by doxygen 1.11.0