gem5  v20.1.0.0
Public Member Functions | Public Attributes | List of all members
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 70 of file timing_expr.hh.

Constructor & Destructor Documentation

◆ TimingExprEvalContext()

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

Definition at line 42 of file timing_expr.cc.

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

Member Data Documentation

◆ inst

const StaticInstPtr& TimingExprEvalContext::inst

Special visible context.

Definition at line 74 of file timing_expr.hh.

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

◆ let

TimingExprLet* 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 80 of file timing_expr.hh.

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

◆ resultAvailable

std::vector<bool > TimingExprEvalContext::resultAvailable

Definition at line 82 of file timing_expr.hh.

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

◆ results

std::vector<uint64_t> TimingExprEvalContext::results

Definition at line 81 of file timing_expr.hh.

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

◆ thread

ThreadContext* TimingExprEvalContext::thread

Definition at line 75 of file timing_expr.hh.

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


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

Generated on Wed Sep 30 2020 14:02:33 for gem5 by doxygen 1.8.17