gem5
|
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 StaticInstPtr & | inst |
Special visible context. More... | |
ThreadContext * | thread |
TimingExprLet * | let |
Context visible as sub expressions. More... | |
std::vector< uint64_t > | results |
std::vector< bool > | resultAvailable |
Object to gather the visible context for evaluation.
Definition at line 72 of file timing_expr.hh.
TimingExprEvalContext::TimingExprEvalContext | ( | const StaticInstPtr & | inst_, |
ThreadContext * | thread_, | ||
TimingExprLet * | let_ | ||
) |
Definition at line 44 of file timing_expr.cc.
References TimingExprLet::defns, let, resultAvailable, and results.
const StaticInstPtr& TimingExprEvalContext::inst |
Special visible context.
Definition at line 76 of file timing_expr.hh.
Referenced by TimingExprSrcReg::eval(), and TimingExprLet::eval().
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 82 of file timing_expr.hh.
Referenced by TimingExprRef::eval(), and TimingExprEvalContext().
std::vector<bool > TimingExprEvalContext::resultAvailable |
Definition at line 84 of file timing_expr.hh.
Referenced by TimingExprRef::eval(), and TimingExprEvalContext().
std::vector<uint64_t> TimingExprEvalContext::results |
Definition at line 83 of file timing_expr.hh.
Referenced by TimingExprRef::eval(), and TimingExprEvalContext().
ThreadContext* TimingExprEvalContext::thread |
Definition at line 77 of file timing_expr.hh.
Referenced by TimingExprReadIntReg::eval(), and TimingExprLet::eval().