Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

ApplyCache.H File Reference

#include "ValExpr.H"
#include "Location.H"

Go to the source code of this file.

Functions

Val ApplyFunction (ClosureVC *clos, ApplyEC *ae, const Context &c)
Val ApplicationFromCache (ClosureVC *clos, const Context &argsCon, SrcLoc *loc)
Val ApplyModel (ModelVC *model, ApplyEC *ae, const Context &c)
Val ModelFromCache (ModelVC *model, const Context &argsCon, SrcLoc *loc)
Val ApplyRunTool (ArgList args, const Context &c)
void StartRenewLeaseThread ()


Function Documentation

Val ApplicationFromCache ClosureVC clos,
const Context argsCon,
SrcLoc loc
 

Definition at line 312 of file ApplyCache.C.

References CacheC::AddEntry(), CacheIntf::AddEntryResName(), appCallCounter, ListT< Value >::Append(), appHitCounter, FuncEC::args, FuncEC::body, BooleanVK, cacheOption, SrcLoc::character, Checkpoint(), ClosureVK, CollectKids(), ClosureVC::con, ArgListEC::elems, CacheIntf::EntryAdded, Error(), ErrorVK, ExprC::Eval(), evaluatorFunctionVersionTag, FP::Tag::Extend(), SrcLoc::file, AssocVC::FingerPrint(), ClosureVC::FingerPrintExpr(), FpVK, FreeNamesTags(), CacheC::FreeVariables(), ClosureVC::func, ThreadData::funcCallDepth, FuncDpnd(), CacheIntf::FVMismatch, CacheIntf::Hit, IncCounter(), ArgListEC::inPKs, IntegerVK, IntToText(), FP::List::len, CacheEntry::Indices::len, SrcLoc::line, ExprC::loc, Basics::mutex::lock(), CacheC::Lookup(), CacheIntf::LookupResName(), CacheIntf::Miss, ModelVK, SRPC::failure::msg, FuncEC::name, NamesTagsPickle(), NEW, noAddEntry, FuncEC::noCache, ListT< Value >::Null(), ThreadData::orphanCIs, outputMu, ListT< Value >::Pop(), PrimitiveVK, ListT< Value >::Push(), SRPC::failure::r, SrcLoc::shortId, Sequence< Elem, elem_ptrfree >::size(), Basics::OBufStream::str(), Tags(), TextVK, theCache, ThreadDataGet(), Basics::mutex::unlock(), Unpickle(), UpdateOrphans(), AssocVC::val, and ValC::vKind.

Referenced by ApplyFunction(), and Map().

Val ApplyFunction ClosureVC clos,
ApplyEC ae,
const Context c
 

Definition at line 513 of file ApplyCache.C.

References ApplicationFromCache(), FuncEC::args, ApplyEC::args, BindApplicationArgs(), conEmpty, ErrorDetail(), ErrorExpr(), SrcLoc::file, ClosureVC::func, ThreadData::funcCallDepth, ExprC::loc, Basics::mutex::lock(), FuncEC::name, NEW, outputMu, ThreadDataGet(), ThreadData::traceRes, and Basics::mutex::unlock().

Referenced by ApplyEC::Eval().

Val ApplyModel ModelVC model,
ApplyEC ae,
const Context c
 

Definition at line 868 of file ApplyCache.C.

References ApplyEC::args, ModelVC::content, ExprC::EError(), ArgListEC::elems, ThreadData::funcCallDepth, Sequence< Elem, elem_ptrfree >::getlo(), ExprC::loc, Basics::mutex::lock(), ModelFromCache(), nameDot, NEW, NEW_CONSTR, outputMu, PushToContext(), Sequence< Elem, elem_ptrfree >::size(), ThreadDataGet(), ThreadData::traceRes, and Basics::mutex::unlock().

Referenced by ApplyEC::Eval(), and Interpret().

Val ApplyRunTool ArgList  args,
const Context c
 

Definition at line 1526 of file ApplyCache.C.

References BindRunToolArgs(), SrcLoc::file, ThreadData::funcCallDepth, IncCounter(), ExprC::loc, NEW, RunToolFromCache(), ThreadDataGet(), toolCallCounter, and ThreadData::traceRes.

Referenced by PrimInit().

Val ModelFromCache ModelVC model,
const Context argsCon,
SrcLoc loc
 

Definition at line 697 of file ApplyCache.C.

References CacheC::AddEntry(), CacheIntf::AddEntryResName(), ListT< Value >::Append(), ModelEC::block, cacheOption, Checkpoint(), CollectKids(), conEmpty, ModelVC::content, CacheIntf::EntryAdded, Error(), ErrorDetail(), ErrorVal(), ExprC::Eval(), evaluatorFunctionVersionTag, FP::Tag::Extend(), ModelVC::FingerPrint(), FreeNamesTags(), CacheC::FreeVariables(), ThreadData::funcCallDepth, CacheIntf::FVMismatch, CacheIntf::Hit, IncCounter(), IntToText(), FP::List::len, CacheEntry::Indices::len, Basics::mutex::lock(), CacheC::Lookup(), CacheIntf::LookupResName(), ValC::Merge(), CacheIntf::Miss, ModelCutOff(), ModelDpnd(), ModelVK, SRPC::failure::msg, NamesTagsPickle(), NEW, noAddEntry, NormalModelFromCache(), outputMu, SRPC::failure::r, sModelCallCounter, sModelHitCounter, Basics::OBufStream::str(), Tags(), theCache, ThreadDataGet(), ThreadData::traceRes, Basics::mutex::unlock(), Unpickle(), UpdateOrphans(), and ValC::vKind.

Referenced by ApplyModel(), and Map().

void StartRenewLeaseThread  ) 
 

Definition at line 1325 of file ApplyCache.C.

References cacheOption, Basics::thread::fork_and_detach(), and RenewLeases().

Referenced by StartEval().


Generated on Mon May 8 00:49:02 2006 for Vesta by  doxygen 1.4.2