gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 72 of file timing_expr.hh.

Constructor & Destructor Documentation

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.

Member Data Documentation

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().


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

Generated on Fri Jun 9 2017 13:04:21 for gem5 by doxygen 1.8.6