gem5 v24.0.0.0
Loading...
Searching...
No Matches
gem5::TimingExprEvalContext Class Reference

Object to gather the visible context for evaluation. More...

#include <timing_expr.hh>

Public Member Functions

 TimingExprEvalContext (const StaticInstPtr &inst_, ThreadContext *thread_, TimingExprLet *let_)
 

Public Attributes

const StaticInstPtrinst
 Special visible context.
 
ThreadContextthread
 
TimingExprLetlet
 Context visible as sub expressions.
 
std::vector< uint64_t > results
 
std::vector< bool > resultAvailable
 

Detailed Description

Object to gather the visible context for evaluation.

Definition at line 72 of file timing_expr.hh.

Constructor & Destructor Documentation

◆ TimingExprEvalContext()

gem5::TimingExprEvalContext::TimingExprEvalContext ( const StaticInstPtr & inst_,
ThreadContext * thread_,
TimingExprLet * let_ )

Definition at line 45 of file timing_expr.cc.

References gem5::TimingExprLet::defns, let, resultAvailable, and results.

Member Data Documentation

◆ inst

const StaticInstPtr& gem5::TimingExprEvalContext::inst

Special visible context.

Definition at line 76 of file timing_expr.hh.

Referenced by gem5::TimingExprLet::eval(), and gem5::TimingExprSrcReg::eval().

◆ let

TimingExprLet* gem5::TimingExprEvalContext::let

Context visible as sub expressions.

results will hold the results of (lazily) evaluating let's expressions. resultAvailable elements are true when a result has actually been evaluated

Definition at line 82 of file timing_expr.hh.

Referenced by gem5::TimingExprRef::eval(), and TimingExprEvalContext().

◆ resultAvailable

std::vector<bool > gem5::TimingExprEvalContext::resultAvailable

Definition at line 84 of file timing_expr.hh.

Referenced by gem5::TimingExprRef::eval(), and TimingExprEvalContext().

◆ results

std::vector<uint64_t> gem5::TimingExprEvalContext::results

Definition at line 83 of file timing_expr.hh.

Referenced by gem5::TimingExprRef::eval(), and TimingExprEvalContext().

◆ thread

ThreadContext* gem5::TimingExprEvalContext::thread

Definition at line 77 of file timing_expr.hh.

Referenced by gem5::TimingExprLet::eval(), and gem5::TimingExprSrcReg::eval().


The documentation for this class was generated from the following files:

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