gem5 v25.0.0.1
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 Arm Limited 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 Sat Oct 18 2025 08:06:47 for gem5 by doxygen 1.14.0