gem5  v21.1.0.2
Public Member Functions | Public Attributes | List of all members
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. More...
 
ThreadContextthread
 
TimingExprLetlet
 Context visible as sub expressions. More...
 
std::vector< uint64_t > results
 
std::vector< bool > resultAvailable
 

Detailed Description

Object to gather the visible context for evaluation.

Definition at line 73 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 77 of file timing_expr.hh.

Referenced by gem5::TimingExprSrcReg::eval(), and gem5::TimingExprLet::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 83 of file timing_expr.hh.

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

◆ resultAvailable

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

Definition at line 85 of file timing_expr.hh.

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

◆ results

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

Definition at line 84 of file timing_expr.hh.

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

◆ thread

ThreadContext* gem5::TimingExprEvalContext::thread

Definition at line 78 of file timing_expr.hh.

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


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

Generated on Tue Sep 21 2021 12:28:15 for gem5 by doxygen 1.8.17